* crosscompile for i386-elf on openbsd 2.6
@ 2000-01-02 16:27 dbt
2000-01-03 20:50 ` Frank Meurer
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: dbt @ 2000-01-02 16:27 UTC (permalink / raw)
To: help-gcc
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?
--
David Terrell | dbt@meat.net
Prime Minister, Nebcorp Inc | http://wwn.nebcorp.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: crosscompile for i386-elf on openbsd 2.6
2000-01-02 16:27 crosscompile for i386-elf on openbsd 2.6 dbt
@ 2000-01-03 20:50 ` Frank Meurer
2000-01-04 18:48 ` dbt
2000-04-01 0:00 ` Frank Meurer
2000-01-07 7:28 ` Kai Ruottu
2000-04-01 0:00 ` dbt
2 siblings, 2 replies; 8+ messages in thread
From: Frank Meurer @ 2000-01-03 20:50 UTC (permalink / raw)
To: help-gcc
On 2 Jan 2000, 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?
Er... did you try "./configure --target=i386-unknown-elf ..." ?
Or "i386-unknown-netbsd"?
Or "i386-unknown-linux"?
-------------------------------------------------------------------------
We have joy, we have fun, we have Linux on our SUN.
Sending unsolicited commercial email to this address may be a violation
of the Washington State Consumer Protection Act, chapter 19.86 RCW.
Das Verschicken unverlangter kommerzieller email an diese Adresse ist
verboten (LG Traunstein, 2 HK O 3755/97 vom 14.10.1997, CR 1998, 171f).
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: crosscompile for i386-elf on openbsd 2.6
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
1 sibling, 1 reply; 8+ messages in thread
From: dbt @ 2000-01-04 18:48 UTC (permalink / raw)
To: help-gcc
Frank Meurer <frank@mats.gmd.STOP-UCE.de> says:
>
>On 2 Jan 2000, 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?
>Er... did you try "./configure --target=i386-unknown-elf ..." ?
configure fails with "Configuration i386-unkown-elf not supported"
>Or "i386-unknown-netbsd"?
/scratch/cross/build/gcc/xgcc -B/scratch/cross/build/gcc/ -B/usr/local/i386-unkown-netbsd/bin/ -I/usr/local/i386-unkown-netbsd/include -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include -I. -I../../src/gcc -I../../src/gcc/config -I../../src/gcc/../include -aux-info SYSCALLS.c.X -S -o tmp-SYSCALLS.s SYSCALLS.c
In file included from SYSCALLS.c:86:
include/stddef.h:28: machine/ansi.h: No such file or directory
*** Error code 1
Stop in /scratch/cross/build/gcc.
*** Error code 1
>Or "i386-unknown-linux"?
libio compile fails.
I'm going to try the netbsd build with gmake instead of bsd make and
see if that makes a difference, though it shouldn't....
--
David Terrell | dbt@meat.net
Prime Minister, Nebcorp Inc | http://wwn.nebcorp.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: crosscompile for i386-elf on openbsd 2.6
2000-01-02 16:27 crosscompile for i386-elf on openbsd 2.6 dbt
2000-01-03 20:50 ` Frank Meurer
@ 2000-01-07 7:28 ` Kai Ruottu
2000-04-01 0:00 ` Kai Ruottu
2000-04-01 0:00 ` dbt
2 siblings, 1 reply; 8+ messages in thread
From: Kai Ruottu @ 2000-01-07 7:28 UTC (permalink / raw)
To: help-gcc
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: crosscompile for i386-elf on openbsd 2.6
2000-01-04 18:48 ` dbt
@ 2000-04-01 0:00 ` dbt
0 siblings, 0 replies; 8+ messages in thread
From: dbt @ 2000-04-01 0:00 UTC (permalink / raw)
To: help-gcc
Frank Meurer <frank@mats.gmd.STOP-UCE.de> says:
>
>On 2 Jan 2000, 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?
>Er... did you try "./configure --target=i386-unknown-elf ..." ?
configure fails with "Configuration i386-unkown-elf not supported"
>Or "i386-unknown-netbsd"?
/scratch/cross/build/gcc/xgcc -B/scratch/cross/build/gcc/ -B/usr/local/i386-unkown-netbsd/bin/ -I/usr/local/i386-unkown-netbsd/include -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include -I. -I../../src/gcc -I../../src/gcc/config -I../../src/gcc/../include -aux-info SYSCALLS.c.X -S -o tmp-SYSCALLS.s SYSCALLS.c
In file included from SYSCALLS.c:86:
include/stddef.h:28: machine/ansi.h: No such file or directory
*** Error code 1
Stop in /scratch/cross/build/gcc.
*** Error code 1
>Or "i386-unknown-linux"?
libio compile fails.
I'm going to try the netbsd build with gmake instead of bsd make and
see if that makes a difference, though it shouldn't....
--
David Terrell | dbt@meat.net
Prime Minister, Nebcorp Inc | http://wwn.nebcorp.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: crosscompile for i386-elf on openbsd 2.6
2000-01-03 20:50 ` Frank Meurer
2000-01-04 18:48 ` dbt
@ 2000-04-01 0:00 ` Frank Meurer
1 sibling, 0 replies; 8+ messages in thread
From: Frank Meurer @ 2000-04-01 0:00 UTC (permalink / raw)
To: help-gcc
On 2 Jan 2000, 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?
Er... did you try "./configure --target=i386-unknown-elf ..." ?
Or "i386-unknown-netbsd"?
Or "i386-unknown-linux"?
-------------------------------------------------------------------------
We have joy, we have fun, we have Linux on our SUN.
Sending unsolicited commercial email to this address may be a violation
of the Washington State Consumer Protection Act, chapter 19.86 RCW.
Das Verschicken unverlangter kommerzieller email an diese Adresse ist
verboten (LG Traunstein, 2 HK O 3755/97 vom 14.10.1997, CR 1998, 171f).
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: crosscompile for i386-elf on openbsd 2.6
2000-01-07 7:28 ` Kai Ruottu
@ 2000-04-01 0:00 ` Kai Ruottu
0 siblings, 0 replies; 8+ messages in thread
From: Kai Ruottu @ 2000-04-01 0:00 UTC (permalink / raw)
To: help-gcc
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* crosscompile for i386-elf on openbsd 2.6
2000-01-02 16:27 crosscompile for i386-elf on openbsd 2.6 dbt
2000-01-03 20:50 ` Frank Meurer
2000-01-07 7:28 ` Kai Ruottu
@ 2000-04-01 0:00 ` dbt
2 siblings, 0 replies; 8+ messages in thread
From: dbt @ 2000-04-01 0:00 UTC (permalink / raw)
To: help-gcc
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?
--
David Terrell | dbt@meat.net
Prime Minister, Nebcorp Inc | http://wwn.nebcorp.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2000-04-01 0:00 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-02 16:27 crosscompile for i386-elf on openbsd 2.6 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
2000-04-01 0:00 ` Kai Ruottu
2000-04-01 0:00 ` dbt
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).