[LLVMdev] libstdc++ as bytecode, and compiling C++ to C

Chris Lattner sabre at nondot.org
Tue Nov 21 08:58:06 PST 2006


On Tue, 21 Nov 2006, Emil Mikulic wrote:
> LLVMers, given the same endianness and pointersize, can one mix and
> match LLVM bytecode files produced on different platforms?

No, not in general.  For example, on the mac, printf it often #defined to 
printf$ldbl, which doesn't exist on linux.  System headers generally foil 
the ability to move stuff around like that.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list