This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Unsucessful build of gcc for i686-pc-cygwin on linux


Hi,

I tried to compile gcc 4.1.2 (the final release) on Linux (Ubuntu 7.04) for windows beacuse I'm trying to make a Canadian Cross, the final target is an ARM machine. I'm configured the buildprocess with:
./configure --target=i686-pc-cygwin --prefix=/home/ignacio/ARM/cross/install --enable-languages=c,c++ --disable-gdbtk --with-build-time-tools=
/home/ignacio/ARM/cross/install/bin to make the first step to build a Canadian Cross. I've built correctly the binutils-2.17.50.
But when I type "make" and after a while i get the next error:
...
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/home/ignacio/ARM/cross/src/gcc-4.1.2/host-i686-pc-linux-gnu/gcc/xgcc -B/home/ignacio/ARM/cross/src/gcc-4.1.2/host-i686-pc-linux-gnu/gcc/
-B/home/ignacio/ARM/cross/install/i686-pc-cygwin/bin/ -B/home/ignacio/ARM/cross/install/i686-pc-cygwin/lib/
-isystem /home/ignacio/ARM/cross/install/i686-pc-cygwin/include -isystem /home/ignacio/ARM/cross/install/i686-pc-cygwin/sys-include -O2
-I../.././gcc/../winsup/w32api/include -O2 -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-Dinhibit_libc -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I../.././gcc/../libcpp/include -DL_chkstk -xassembler-with-cpp -c
../.././gcc/config/i386/cygwin.asm -o libgcc/./_chkstk.o
/home/ignacio/ARM/cross/src/gcc-4.1.2/host-i686-pc-linux-gnu/gcc/xgcc -B/home/ignacio/ARM/cross/src/gcc-4.1.2/host-i686-pc-linux-gnu/gcc/
-B/home/ignacio/ARM/cross/install/i686-pc-cygwin/bin/ -B/home/ignacio/ARM/cross/install/i686-pc-cygwin/lib/
-isystem /home/ignacio/ARM/cross/install/i686-pc-cygwin/include -isystem /home/ignacio/ARM/cross/install/i686-pc-cygwin/sys-include -O2
-I../.././gcc/../winsup/w32api/include -O2 -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include
-I../.././gcc/../libcpp/include -DL_muldi3 -c ../.././gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from ./tm.h:10,
from ../.././gcc/libgcc2.c:35:
../.././gcc/config/i386/cygming.h:52:19: error: stdio.h: No existe el fichero ó directorio
In file included from ./tm.h:10,
from ../.././gcc/libgcc2.c:35:
../.././gcc/config/i386/cygming.h:333: error: expected ')' before '*' token
make[3]: *** [libgcc/./_muldi3.o] Error 1
make[3]: se sale del directorio `/home/ignacio/ARM/cross/src/gcc-


4.1.2/host-i686-pc-linux-gnu/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: se sale del directorio`/home/ignacio/ARM/cross/src/gcc-4.1.2/host-i686-pc-linux-gnu/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: se sale del directorio `/home/ignacio/ARM/cross/src/gcc-4.1.2'
make: *** [all] Error 2


Do you have any suggestions about this problem?

I don't know if I can make a Canadian Cross with the next configure: ./configure --build=i686-pc-linux --host=i686-pc-cygwin --target=arm-elf
--prefix=/home/ignacio/ARM/cross/install --with-headers=/home/ignacio/ARM/cross/src/linux-2.6.22/include --enable-languages=c,c++ --disable-gdbtk
--with-build-time-tools=/home/ignacio/ARM/cross/install/bin in only one step?


Bye
--
*Ignacio Molinero Horno         **imolinero@bioingenieria.es**
Departamento I+D*

------------------------------------------------------------------------



Polígono Industrial Alcalde Caballero

C/ Monasterio de las Huelgas 2, nave 6

50.014 ZARAGOZA

*Tfno: (+34) 976 798 200*

*BIOINGENIERIA*



*Fax: (+34) 976 798 201*

*ARAGONESA S.L.*



*www.sabia.es* <http://www.sabia.es>

------------------------------------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]