Article View: gnu.gcc.help
Article #42231Help! Cross compile questions
From: Kevin Price
Date: Wed, 03 Jan 1996 00:00
Date: Wed, 03 Jan 1996 00:00
28 lines
1459 bytes
1459 bytes
Hi I am attempting to create a cross compiler for a System V 386 target and I have a few questions that are nagging me. 1) I want to compile the program on my Linux box and then run it on the SysV. Is this what a cross compiler is for? Or am I barking up the wrong tree? (I can't put gcc on the SysV). 2) If 1 is ok then where is a GOOD documented example of a cross compile with Linux to SysV target? I have looked at a few but they don't really make a whole lot of sense. 3) I have managed to re-compile the libraries with some options but I don't really know which options I should choose. Is my target SVR4 is my source 386-linux-linux do I use ELF? What is ELF? Do I need to have the SysV include files? If so where are they? 4) Once the libraries are compiled which ones do I need, how do I specify them to the linker. 5) Does anyone have a library already built for me to use? I'm not really a newbie but I am just a little confused. I have read some GCC faq's but they don't really answer my questions. Thanks for any help anybody could give me. Kevin Price.
Technical Details
Message-ID:
<4cch7g$2k9@grid.direct.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,9da1db45faeff574,start X-Google-Attributes: gid11318c,public From: kaprice@kpcnet.nebulus.net (Kevin Price) Subject: Help! Cross compile questions Date: 1996/01/03 Message-ID: <4cch7g$2k9@grid.direct.ca> X-Deja-AN: 133736003 organization: Internet Direct newsgroups: gnu.gcc.help