This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problem building cygwin Cross-CC on linux host (gcc 3.1)
- From: Chris Selivanow <cselivanow at qwicnet dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 19 Jul 2002 08:41:55 -0400
- Subject: Problem building cygwin Cross-CC on linux host (gcc 3.1)
- Organization: QwicNet, Inc.
Hi-
I am having problems building gcc. I am using a linux host and want
the cross-compiler to build cygwin binaries.
Here is my enviroment:
host=i686-unknown-linux
i=/usr/local/bin
prefix=/usr/local
target=i686-pc-cygwin
here is my command line:
tmp/build-gcc# ../gcc-3.1/configure --target=$target --prefix=$prefix -v
(configure completes ok)
tmp/build-gcc# make all
then I get:
-prototypes -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.1/gcc -I../../gcc-3.1/gcc/. -I../../gcc-3.1/gcc/config -I../../gcc-3.1/gcc/../include -DL_muldi3 -c ../../gcc-3.1/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from tconfig.h:16,
from ../../gcc-3.1/gcc/libgcc2.c:36:
../../gcc-3.1/gcc/config/i386/cygwin.h:31:19: stdio.h: No such file or directory
In file included from tconfig.h:16,
from ../../gcc-3.1/gcc/libgcc2.c:36:
../../gcc-3.1/gcc/config/i386/cygwin.h:447: parse error before '*' token
../../gcc-3.1/gcc/config/i386/cygwin.h:447: warning: function declaration isn't a prototype
../../gcc-3.1/gcc/config/i386/cygwin.h:449: parse error before '*' token
../../gcc-3.1/gcc/config/i386/cygwin.h:449: warning: function declaration isn't a prototype
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory `/home/cselivanow/tmp/build-gcc/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/cselivanow/tmp/build-gcc/gcc'
make: *** [all-gcc] Error 2
I successfully built binutils 2.12.1
Any ideas?
--
Chris Selivanow 585 582-1600
Lead Technician 585 624-3465 (fax)
QwicNet, Inc. http://www.qwicnet.com