compile

How to detect the compile-time ./configure options of apache 1.3?

Hello, I have an old apache 1.3 instalation. I know it was compiled from source, I have source tarbal, but I do not have saved ./configure flags. I need to recompile this apache with exacly same confiugre flags, and with EXTRA_CFLAGS="-DBIG_SECURITY_HOLE" enabled for debugging. Do you know how to determine ./congigure flags from ins...

compiling SQLJ with Ant

How to compile SQLJ with ant? ...

Python 3.1.1 with --enable-shared : will not build any extensions

Summary: Building Python 3.1 on RHEL 5.3 64 bit with --enable-shared fails to compile all extensions. Building "normal" works fine without any problems. Please note that this question may seem to blur the line between programming and system administration. However, I believe that because it has to deal directly with getting language s...

MATLAB engine versus libraries created by MATLAB Compiler?

To call MATLAB code in C or C++, how do you choose between using the MATLAB engine and using the MATLAB Compiler mcc to create C or C++ shared libraries from your MATLAB code? What are their pros and cons? For the second method, see http://www.mathworks.com/access/helpdesk/help/toolbox/compiler/f2-9676.html Are there other ways to call ...

C# - displaying the build date

I currently have an app displaying the build number in its title window. That's well and good except it means nothing to most of the users, who want to know if they have the latest build - they tend to refer to it as "last Thursday's" rather than build 1.0.8.4321. The plan is to put the build date there instead - So "App built on 21/10...

How to make qmake compile multiple cross platform binaries

I'm using QT Creator on a project and was wondering if there's a single command to compile the project to a Mac, Windows, & Linux binaries so I can easily send them to other computers for testing without having to send over the whole source code. Currently I'm running the QT Creator on Mac OSX if that matters. ...

Error 1 & 2 when compiling GCC 4.4.2 on OpenSolaris 2009.06

My problem: I've been trying to compile, build, and install GCC 4.4.2 in my installation of OpenSolaris 2009.06 on my VirtualBox 3 i386 machine. But I keep getting this same error when running make: > checking whether ln -s works... yes checking for i386-pc-solaris2.11-gcc... /src/gcc-4.4.2/host-i386-pc-solaris2.11/gcc/xgcc -B/src/gcc-...

Calculate time taken by each cpp file to compile in VS2005?

Hi Guys, I am writing a tool which can be used to make the matrix for the current performance of the project. For that I required to get the time taken by each file to get compiled. I tried with the following option but didn't succeed :( Tools->Options->Proejcts & Solutions -> VC++ Project Settings -> Build Timing-> Yes From the above...

How big an effect on compile times does L2 cache size have?

I am in the middle of the decision process for a new developer workstation, and one remaining question is which processor to choose, and one of the early decisions is whether to go with Xeon or Core2 processors. (We've already restricted ourselves to HP machines, so we're only looking at Intel processors.) The main goal of the upgrade ...

Can I compile my PHP script to a faster executing format?

I have a PHP script that acts as a JSON API to my backend database. Meaning, you send it an HTTP request like: http://example.com/json/?a=1&b=2&c=3... it will return a json object with the result set from my database. PHP works great for this because it's literally about 10 lines of code. But I also know that PHP is slow and...

iPhone Compile Architecture: Standard vs Optimized

This is something stupid I probably should know, but Googling fails me: When compiling the binary I'm going to submit to the App Store, in the Project Info -> Build tab, there's an "Architectures" option. The default is "Standard" but I noticed there is also "Optimized" Which should I use when submitting to the app store? I have been u...

Automatically compile any Java class when the file is dropped in a directory

I look at a lot of small Java programs. It would be convenient if I could set up a directory (or directory structure) on my Mac where any time I add a .java file, javac automatically runs and attempts to compile that file. I've briefly looked into Automator actions, but found nothing that fits the bill. Then I got to thinking: on my PC, ...

How to create a .NET executable through a .NET windows forms application?

As described in the title I would like to develop a Windows Forms Application in .NET that is capable of creating at run-time another .NET command line or windows form executable and let me save it to disk. Do you have any ideas if it is possible and how to proceed? #Region "Some more info" I would like to create a form where the user...

How to compile java code?

Hi, I have a bunch of java files and I am running the following code in an attempt to compile them. "\Program Files\Java\jdk1.6.0_16\bin\javac" Main.java And I am being shown this error message Main.java:3: package colourtiler.patternsdoes not exist import colourtiler.patterns.draw; The code it isreferring to is located in the fo...

How do I make OS X 10.6 compile JSON::XS as 32-bit instead of 64-bit?

I compiled Perl 5.10.1 under OS X 10.5. It was compiled as a 32-bit program. I have since upgraded to OS X 10.6. My version of Perl 5.10.1 continues to work fine, but I just tried to compile JSON::XS and got errors like the following: Can't load '/Users/cowens/.cpan/build/JSON-XS-2.26-clO6XX/blib/arch/auto/JSON/XS/XS.bundle' for m...

RibbonLib will not build, exits with code 3 (can't find the file)

I am trying to compile this Ribbon Libray (http://windowsribbon.codeplex.com/) but it says there are some files missing, which I have then gone to in explorer and they are indeed missing, and I have no idea why (I haven't removed any files). Error 1 The command ""%PROGRAMFILES%\Microsoft SDKs\Windows\v7.0\Bin\UICC.exe" "C:\User...

Compile a .pyw file so it can be run like .pyc without console

Hi All, I'm trying to compile a pyw file into a pyc without console. When I try a straight compile with it, the result is a pywc file, but it seems that pythonw.exe doesn't register that extension as one of it's files like python.exe does for a pyc. The result of course is that it has no double click handler when you try to just execu...

Compile error in wxWidgets with VS2010 Beta 2

Hello, i try to build wxWidgets straight from source using VS10 beta 2, but i get this error when i try to compile it: Error 1 error MSB3073: The command "copy "" ..\..\lib\vc_lib\mswd\wx\setup.h :VCEnd" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cp\\v4.0\Microsoft.CppCommon.targets 145 thanks! ...

Where can I get these header files?

I'm attempting to compile SndObj, and I need some header files. Which Debian packages do I need to obtain all the missing header files? Checking for C header file alsa/asoundlib.h... (cached) no Checking for C header file soundcard.h... (cached) no Checking for C header file jack/jack.h... (cached) no Checking for C header file m_pd.h.....

how to link to static library in c?

I use code::blocks to compile my static library. The output result is a libstatic.a file. Now, how do I link to my library to use functions that were compiled? (I tried to use #include "libstatic.a" but my project doesn't compile) ...