compiling

Can't find OpenSSL headers/libs when installing Ruby1.9 from source

I'm trying to install Ruby 1.9 from source, and I can't seem to get it to figure out where the OpenSSL headers and libraries are located. ruby-1.9.2/ext/openssl/extconf.rb says it can't find openssl/ssl.h -- which I've very definitely installed in ~/.local/include (the corresponding OpenSSL library is in ~/.local/lib). How can I tell Ru...

Developping an iOS 3.1 application with iOS 4.0 SDK and device ?

I've developed an iPhone application for an iOS Deployment Target 3.2. But my client changed his mind and would like the app to be available for iOS 3.1. Thus, i've set iOS Deployment Target 3.1 and left base SDK to 4.0 but everything compiles fine whereas I'm sure I use methods and classes introduced in iOS 3.2 only. How can I identif...

C# System.Diagnostics.Process: determine how much time C++ compilation process took time

Log("Starting to compile...\n"); Process p = new Process(); p.StartInfo.FileName = CompilationCommand; p.StartInfo.Arguments = SourceFileName; p.Start(); Log("Compiling finished in " + (p.StartTime - p.ExitTime).Seconds + " seconds\n"); This code doesn't work. How can I find out how much time wa...

How to compile C# Webapplication without VS ?

Is it possible to publish a web application without visual studio ? If i got all my file on a compiling server without visual studio, is it possible to compile my files with command promp or something like that ? ...

Cross compile with another library.

How to compile with another set of libraries. When I compile on i686 Fedora 13 computer, it works fine. However, when I take the executable (via thumbdrive) and try to run it on another i386 machine, I get the following error message. /usr/lib/libstdc++.so.6: version ‘GLIBCXX_3.4.9’ not found (required by ./Recorder) Okay, so I have t...

Compiling single C# project to multiple DLLs

Background: Custom workflow activities for Microsoft Dynamics CRM. Currently we have one project per custom activity, with a single class file in each project. We would like to have a single project, with multiple class files, each compiling to a separate DLL to allow us to update them individually. Is this possible? ...

How does F# compile functions that can take multiple different parameter types into IL?

I know virtually nothing about F#. I don’t even know the syntax, so I can’t give examples. It was mentioned in a comment thread that F# can declare functions that can take parameters of multiple possible types, for example a string or an integer. This would be similar to method overloads in C#: public void Method(string str) { /* ... *...

Troubling Compiling wxWidgets with MinGW

I am having trouble compiling wxwidgets with mingw on Windows 7 x64. It compiles for 30+ min, then runs out of memory. My computer has 6 GB of memory, so I don't know what is wrong. Someone mentioned something about a 64 bit version of MinGW. Would this help, and if so, how would I use this? I am able to compile just fine with Visual S...

Compiled vim from source on Mac OSX and getting 'shell returned 127' error?

Hello. On my Mac OSX 10.6 machine, I started to use MacVIM for vim. Then I noticed my terminal version was different to the MacVIM version (MacVIM was 7.3 and my terminal version 7.2)... I thought they used the same vim? I need 7.3 for some of the features. So I set about wanting to update the terminal version. I basically cloned it us...

Why use make over a shell script?

Make seems to me simply a shell script with slightly easier handling of command line arguments. Why is it standard to run make instead of ./make.sh ...

Issue using CMake : gtk module

I'm attempting to compile zzogl using CMake and I keep running into issues. My first issue stated that I needed pkgconfig, so I installed that, for which I also had to install MacPorts. Then it said I needed gtk+-2.0 module, so I got that too. After that took forever to install, I still get this error: checking for module 'gtk+-2.0' ...

how to recompile php with mysql when you installed php through rpm

hi, I have upgrade PHP version to 5.3.2 on fedora core 6 system through RPM. Now php is working fine but Mysql is not associated with PHP. When I checked phpinfo it says '--without-mysql' '--without-gd' in configure command. I tried running ./configure command which suppose to fire through source of php, but I've installed php throu...

Io does not compile on Mac OS X Snow Leopard.

I followed the instructions in the README, they are very simple cd build cmake .. make install The problem occurs after the make install command. Io will not compile, specifically because of the module CFFI. ld complains that my libffi.dylib is not 64-bit, and thus it won't link the .o files, and because of that, it then complains tha...

Problem when #import C++ Header File in iPhone/iPad Project

Hello ! I have a C++ class I would like to use in an iPhone/iPad project. I created this file in different ways (like with "New File" => C++) and the error is always the same. When I compile the project without having any #import (of the .h C++ class), it's ok. But as soon as I #import the header file in one of my header objective-c f...

iphone: co-processor offset out of range

hi, i have a strange compiling problem with xcode and iphone. my game is almost finish but now i got suddently this compiling error: {standard input}:6108:co-processor offset out of range gcc-4.2 failed with exit code 1 this only happens if i compile the release version for the device. the debug version and both versions for the simu...

How can I control the way gcc/g++ automatically includes headers?

I've run into trouble in the past when I've tried porting some C++ code written on Mac OS X to a Linux system, or trying to compile code written against an older version of gcc/g++ with a newer one: It seems that some (older?) versions of gcc/g++ would automatically include some header files for you. For example, code that uses printf ...

How to compile dynamic library for a JNI application on linux?

I'm using Ubuntu 10.10 So that's what I did. Hello.java: class Hello { public native void sayHello(); static { System.loadLibrary("hellolib"); } public static void main(String[] args){ Hello h = new Hello(); h.sayHello(); } } Then I ran the follwing commands: dierre@...

Three Address Code (TAC / 3AC)

While doing some reading, I came across the terms "Intermediate Language" and "3AC". IL, as I understand, is the middle "step" in the source code compilation process. More specifically, I'm reading about bytecode (Java) and C. The way I interpret it (correct me if am wrong) is; Source Code 1 (ex. Lisp) -> Intermediate Language (...

Compiling with Bigloo

I've written a scheme file in DrRacket/Scheme and I have my .rkt file. I need to now compile what I've written with Bigloo. I have Bigloo installed, but I'm not sure how to use it. Anyone know how? ...

compiler for my web site

Hi, I am planning to build an algorithm web site that compiles the c and other language programs. I want to know is there any readymade tools/libraries for that?. ...