llvm-gcc

Build 32-bit with 64-bit llvm-gcc

I have a 64-bit version of llvm-gcc, but I want to be able to build both 32-bit and 64-bit binaries. Is there a flag for this? I tried passing -m32 (which works on the regular gcc), but I get an error message like this: [jay@andesite]$ llvm-gcc -m32 test.c -o test Warning: Generation of 64-bit code for a 32-bit processor requested. Warn...

Changing to llvm compiler when deploying iPhone app.

I found this: http://stackoverflow.com/questions/1412882/changing-compiler-to-llvm-clang-on-existing-iphone-project But that does not help. I am still getting the error. Setting the BaseSDK to the iPhoneSimulator 3.1 seems to work. But I don't think this is the right thing to do... ...

LLVM MinGW installation on Vista?

From llvm.org I've downloaded llvm-2.6-x86-mingw32.tar.bz2 into c:\llvm and llvm-gcc-4.2-2.6-x86-mingw32-tar.bz2 into c:\llvm-gcc as well as setup a desktop shortcut the following batch file in c:\llvm-gcc which attempts to setup an environment for compiling via the llvm-gcc command line too: @echo off color 0E echo Configuring LLVM env...

GCC Undefined symbols

I recently ditched MacPorts for Homebrew, as a result im now experiencing some issues with make. Namely this error: /Developer/usr/bin/llvm-gcc -rdynamic -o zsh main.o `cat stamp-modobjs` -liconv -ldl -ltermcap -lm -lc Undefined symbols: "_libiconv_open", referenced from: llvm bitcode in utils.o "_libiconv_close", refer...

problem with link-time optimization in Xcode

Should I turn on "Generate Debug Symbols" in Xcode for release configuration? When it and "Link Time Optimization" are turned on Xcode show warning: GenerateDSYMFile build/Release/cocoa_tutorial5.app.dSYM build/Release/cocoa_tutorial5.app/Contents/MacOS/cocoa_tutorial5 cd /Users/ariel/Documents/spacesimulator.net/cocoa_tutorial5 /Devel...

LLVM: bitcode with llvm-gcc (mingw) for windows

Hi, i'm currently building a small JIT compiler. For the language I need a runtime library for some special math functions. I think the best would be to compile the lib to bitcode and link it. The compiler should be integrated in a product and as of this, it must work under windows (VC10, 64bit). So is it possible to build the math li...

Are llvm-gcc and clang binary compatible with gcc? - particularly mingw gcc on Windows.

If I build a static library with llvm-gcc, then link it with a program compiled using mingw gcc, will the result work? The same for other combinations of llvm-gcc, clang and normal gcc. I'm interested in how this works out on Linux (using normal non-mingw gcc, of course) and other platforms as well, but the emphasis is on Windows. I'm ...

configure: error: Building in the source directory is not supported in this release.

I am trying to build the iPhone toolchain under Ubuntu 10.04 and I encountered an error: mohit@mohit-laptop:~/Documents/toolchain/iphone-dev/llvm-gcc-4.0-iphone$ ./configure --enable-llvm=`llvm-config --obj-root` --enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin --enable-sjlj-exceptions --with-heavenly=/usr/share/iphon...

Building llvm-gcc: linker errors

Hi, I have downloaded llvm and llvm-gcc sources to my machine. I was able to build both of them fine. Then I created a new source file in LLVM Analysis folder which calls into another library (sqlapi). I installed this lib into the usual LLVM libs location. I am able to build LLVM fine but when I try to build LLVM-GCC I get undefined s...

how to install llvm-gcc 4.2 on cygwin

hello,i donot know whether cygwin have installed llvm-gcc, if no,i want to know how install llvm-gcc on cygwin in windows.i want to some a lot of detailed steps ,I haven't a clue,my hair is becoming less and less.thank you ...