This is the mail archive of the gcc-help@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]

Re: crosscompile for i386-elf on openbsd 2.6


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


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