[LLVMdev] Byte code portability (was Re: libstdc++ as bytecode, and compiling C++ to C)

Philipp Klaus Krause pkk at spth.de
Fri Nov 24 13:06:57 PST 2006


Anton Korobeynikov schrieb:
> Hello, Philipp.
> 
>> unsigned is 16 bit on my target platform.
> Could you please show LLVM bytecode?
> 

I've attached the .bc file and the .c source and output files.
I compiled dusing llvm-gcc (not configured as cross-compiler though, so
that might be the problem).

Nevertheless I don't really see why portable source shouldn't be
translated into portable source.

Philipp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.bc
Type: application/octet-stream
Size: 127 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20061124/f96d954c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 69 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20061124/f96d954c/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test2.c
Type: text/x-csrc
Size: 2929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20061124/f96d954c/attachment-0001.c>


More information about the llvm-dev mailing list