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 [thread overview]
Message-ID: <387602ea.22169297@news.nettilinja.fi> (raw)
Message-ID: <20000401000000.A1qXA_Tmq9y_6V6pktCLXDwRuGMTBe8ZN-1V44keLFk@z> (raw)
In-Reply-To: <slrn86vqo1.cn8.dbt@pianosa.catch22.org>
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
next prev parent reply other threads:[~2000-04-01 0:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-02 16:27 dbt
2000-01-03 20:50 ` Frank Meurer
2000-01-04 18:48 ` dbt
2000-04-01 0:00 ` dbt
2000-04-01 0:00 ` Frank Meurer
2000-01-07 7:28 ` Kai Ruottu [this message]
2000-04-01 0:00 ` Kai Ruottu
2000-04-01 0:00 ` dbt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=387602ea.22169297@news.nettilinja.fi \
--to=karuottu@freenet.hut.fi \
--cc=help-gcc@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).