This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: crosscompile for i386-elf on openbsd 2.6
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/