Displaying 4 results from an estimated 4 matches for "llvmoutput".
2008 Feb 18
0
[LLVMdev] cross compiling with the C backend
Kevin André wrote:
> For my master's thesis, I am trying to cross compile programs for the
> PSP (PlayStation Portable) with LLVM and llvm-gcc.
>
> This is what I do:
>
> (1) compile a program and the libraries it uses (libpng etc.) with llvm-gcc
> (2) link the bitcode files with llvm-ld into one file
> (3) run "llc -march=c" on the result
> (4) compile
2008 Feb 18
4
[LLVMdev] cross compiling with the C backend
For my master's thesis, I am trying to cross compile programs for the
PSP (PlayStation Portable) with LLVM and llvm-gcc.
This is what I do:
(1) compile a program and the libraries it uses (libpng etc.) with llvm-gcc
(2) link the bitcode files with llvm-ld into one file
(3) run "llc -march=c" on the result
(4) compile the resulting C source with the PSP toolchain
It seems to work
2008 Feb 29
1
[LLVMdev] conflicting declarations in output of C back end
I stumbled upon the following error:
psp-gcc -I. -I/home/kevin/Documents/School/Thesis/work/install/psptoolchain/psp/sdk/include
-Wall -O1 -G0 -ILIB_zlib -ILIB_libpng -D_PSP_FW_VERSION=150 -c -o
llvmoutput.o llvmoutput.c
llvmoutput.c:619: error: conflicting types for '_impure_ptr'
/home/kevin/Documents/School/2eLIC/Thesis/work/install/psptoolchain/bin/../lib/gcc/psp/4.1.0/../../../../psp/include/sys/reent.h:793:
error: previous declaration of '_impure_ptr' was here
The declaration in...
2008 Feb 19
1
[LLVMdev] cross compiling with the C backend
Hello, Kevin
> build process I described in my original message. So the difference is
> more subtle; maybe a difference in the layout of structs or something.
Also, there can be another ABI differences.
> llvmoutput.c:17976: warning: pointer targets in passing argument 1 of
> 'longjmp' differ in signedness
Hrm, are you using setjmp/longjmp stuff? They're definitely not portable
at all.
--
WBR, Anton Korobeynikov