From mboxrd@z Thu Jan 1 00:00:00 1970 From: dbt@meat.net (dbt) 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: References: X-SW-Source: 2000-q1/msg00046.html Message-ID: <20000401000000.vjy_7avr4ZniyYjTTSZKLk2de1vhGov8wHOXrR4iv4Q@z> Frank Meurer 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/