From mboxrd@z Thu Jan 1 00:00:00 1970 From: karuottu@freenet.hut.fi (Kai Ruottu) To: help-gcc@gnu.org Subject: Re: crosscompile for i386-elf on openbsd 2.6 Date: Fri, 07 Jan 2000 07:28:00 -0000 Message-id: <387602ea.22169297@news.nettilinja.fi> References: X-SW-Source: 2000-01/msg00092.html On 2 Jan 2000 16:19:13 -0800, dbt@meat.net (dbt) wrote: >I'd like to build a crosscompiler for i386-elf on an OpenBSD system. >binutils has no problem with a target of i386-elf (it expands it to >i386-pc-elf), but gcc's configure fails with: >Configuration i386-pc-elf not supported >i386-elf is listed as supported in the crosscompile faq at > http://www.objsw.com/CrossGCC/ , any suggestions? Please always tell the GCC version when asking the support for some target... At least gcc-2.95.2 should now support the i386-elf, egcs-1.1.x officially did'nt, although I seem to have used it for i386-elf since the end of 1998. For producing C-code I still prefer egcs-1.1.2, not gcc-2.95.2. Things like the support for '-msoft-float' aren't however yet included into the 'i386-elf' support in gcc-2.95.2 (if there is any support). Some people may think that 'i386-elf' is just the same as 'i386-freebsdelf' (FreeBSD 3.x) or 'i386-linux-gnu' (RH5.x, 6.x) or 'i386-sysv4.2' (UW1.x, 2.x) or 'i386-sysv5' (UW7), which all use ELF as their object format. But it really isn't, so when the 'magic word': 'embedded' (with no BIOS, no opsys) wasn't seen in your question, your real target could be something else, please check this first... If your target really is the embedded 'i386-elf', I suggest trying with gcc-2.95.2 (but perhaps it too still lacks the 'i386-elf' support...). Copying the 'i386-elf' configuration from the Cygnus eCos-1.2.1 devtools-sources (990319) to the egcs-1.1.2 (990314) sources should succeed easily, or using the ecos-1.2.1 devtools- sources themselves. Please see: ftp://sourceware.cygnus.com/pub/ecos Cheers, Kai From mboxrd@z Thu Jan 1 00:00:00 1970 From: karuottu@freenet.hut.fi (Kai Ruottu) To: help-gcc@gnu.org Subject: Re: crosscompile for i386-elf on openbsd 2.6 Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: <387602ea.22169297@news.nettilinja.fi> References: X-SW-Source: 2000-q1/msg00092.html Message-ID: <20000401000000.A1qXA_Tmq9y_6V6pktCLXDwRuGMTBe8ZN-1V44keLFk@z> On 2 Jan 2000 16:19:13 -0800, dbt@meat.net (dbt) wrote: >I'd like to build a crosscompiler for i386-elf on an OpenBSD system. >binutils has no problem with a target of i386-elf (it expands it to >i386-pc-elf), but gcc's configure fails with: >Configuration i386-pc-elf not supported >i386-elf is listed as supported in the crosscompile faq at > http://www.objsw.com/CrossGCC/ , any suggestions? Please always tell the GCC version when asking the support for some target... At least gcc-2.95.2 should now support the i386-elf, egcs-1.1.x officially did'nt, although I seem to have used it for i386-elf since the end of 1998. For producing C-code I still prefer egcs-1.1.2, not gcc-2.95.2. Things like the support for '-msoft-float' aren't however yet included into the 'i386-elf' support in gcc-2.95.2 (if there is any support). Some people may think that 'i386-elf' is just the same as 'i386-freebsdelf' (FreeBSD 3.x) or 'i386-linux-gnu' (RH5.x, 6.x) or 'i386-sysv4.2' (UW1.x, 2.x) or 'i386-sysv5' (UW7), which all use ELF as their object format. But it really isn't, so when the 'magic word': 'embedded' (with no BIOS, no opsys) wasn't seen in your question, your real target could be something else, please check this first... If your target really is the embedded 'i386-elf', I suggest trying with gcc-2.95.2 (but perhaps it too still lacks the 'i386-elf' support...). Copying the 'i386-elf' configuration from the Cygnus eCos-1.2.1 devtools-sources (990319) to the egcs-1.1.2 (990314) sources should succeed easily, or using the ecos-1.2.1 devtools- sources themselves. Please see: ftp://sourceware.cygnus.com/pub/ecos Cheers, Kai