This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Intermixing powerpc-eabi and powerpc-linux C code


On Jun 1, 2006, at 11:32 AM, Ron McCall wrote:
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?

This is a linker question, we don't do linkers here. In particular, the relocs have to be compatible, if you want to do reloc processing. You can use ld and resolve all the relocs and just slam in the bytes, but then, you're not using gcc to link per se.


Why not just try it out and see?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]