Help Understanding Cross Compilers
by HalfMadDad from LinuxQuestions.org on (#501YR)
Hi Everyone
I love Linux but I also like to fool around with Minix3. Development of this has stalled. It is possible to cross compile it from Linux but this is from a later version that was almost entirely BSD and I would like to fool around with cross compiling a smaller version (3.1.0) that was more Minix and less BSD.
I am not sure I fully understand the cross compiling process.
Assuming both source and target are ELF compatible and assuming the target does not use a dynamic linker, are there other considerations that need to take place besides architecture and libraries linked to?
If I use a i386 compiler on Linux but link to Minix libraries should that ought to work?
Thanks for reading-Patrick


I love Linux but I also like to fool around with Minix3. Development of this has stalled. It is possible to cross compile it from Linux but this is from a later version that was almost entirely BSD and I would like to fool around with cross compiling a smaller version (3.1.0) that was more Minix and less BSD.
I am not sure I fully understand the cross compiling process.
Assuming both source and target are ELF compatible and assuming the target does not use a dynamic linker, are there other considerations that need to take place besides architecture and libraries linked to?
If I use a i386 compiler on Linux but link to Minix libraries should that ought to work?
Thanks for reading-Patrick