Hi!

Does anyone happen to know if it is possible to link
(and run) C code compiled with a powerpc-eabi targeted
gcc with C code compiled with a powerpc-linux targeted
gcc?  The resulting program would be run on a PowerPC
Linux system (ELDK 4.0).

In this case, main() would be compiled by
powerpc-linux-gcc while a test driver and all code to
be tested would be compiled by powerpc-eabi-gcc. 
Everything would be linked using powerpc-linux-gcc.  

The call from Linux-land to eabi-land would not need
to pass arguments nor return anything and nothing
would need to be shared between the two pieces of
code.

None of the powerpc-eabi code will depend on any
libraries or other external code, it will all be
completely self-contained.

Thanks!

Ron McCall

Reply via email to