[LLVMdev] From OS X to LINUX

Garrison Venn gvenn.cfe.dev at gmail.com
Sun Jan 10 05:09:22 PST 2010

For close to the last decade or so, I've been developing on OS X and then porting to LINUX. I know there are those who object
to this approach, but it works for me. However I noticed that when porting my exception example to LINUX, which involved
adding a whopping -rdynamic to the build line, there were technologies missing from my gcc and LINUX installation as compared
to what is on OS X 10.6.2. For example, when building LLVM on LINUX, I noticed that ffi and atomic builtins were missing from LINUX and gcc

My question is: What are the minimal packages that are recommended that would bring my LINUX distribution as close as possible 
to a 32 bit par version of what is on a clean OS X 10.6.2 development environment when developing with LLVM? I'm currently using a 
CentOS dist., but I'm up for another if that is preferred. 

On LINUX uname -srvmpio gives: Linux 2.6.18-164.10.1.el5 #1 SMP Thu Jan 7 20:00:41 EST 2010 i686 i686 i386 GNU/Linux,
while gcc -v gives: gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)

I'm assuming the LLVM build problem with: GCC 4.1.2 20071124 (Red Hat 4.1.2-42), (from the LLVM getting started guide) has
disappeared with my release of gcc.

Thanks in advance


More information about the llvm-dev mailing list