This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
hello bertrand,
i've found your posting in the crossgcc mailing list regarding building gcc as a cross compiler to make cygwin programs under linux. i'm also trying this, but after successfully building binutils, making the cross gcc failes with the error listed below!
have you experienced such a problem also, or can you give any hints how to solve this?
another point is, whether you know where to get a binary distribution of such a cross compiler?
thanks for your help in advance!
the environment i use is as follows:
export PREFIX="/opt/cygwin-cross-gcc" export TARGET="i686-pc-cygwin" export HOST="i686-pc-linux"
[raho@pcraho build-gcc-3.2.3]$ ../gcc-3.2.3/configure --prefix=$PREFIX --target=$TARGET --host=$HOST --enable-languages=c --enable-haifa
[raho@pcraho build-gcc-3.2.3]$ make
...
/home/raho/disk/cygwin-cross-gcc/gcc/build-gcc-3.2.3/gcc/xgcc
-B/home/raho/disk/cygwin-cross-gcc/gcc/build-gcc-3.2.3/gcc/
-B/opt/cygwin-cross-gcc/i686-pc-cygwin/bin/
-B/opt/cygwin-cross-gcc/i686-pc-cygwin/lib/ -isystem
/opt/cygwin-cross-gcc/i686-pc-cygwin/include
-O2 -I../../gcc-3.2.3/gcc/../winsup/include
-I../../gcc-3.2.3/gcc/../winsup/cygwin/include
-I../../gcc-3.2.3/gcc/../winsup/w32api/include -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.
-I. -I../../gcc-3.2.3/gcc -I../../gcc-3.2.3/gcc/.
-I../../gcc-3.2.3/gcc/config -I../../gcc-3.2.3/gcc/../include -DL_muldi3
-c ../../gcc-3.2.3/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from tconfig.h:16,
from ../../gcc-3.2.3/gcc/libgcc2.c:36:
../../gcc-3.2.3/gcc/config/i386/cygwin.h:31:19: stdio.h: No such file or
directory
In file included from tconfig.h:16,
from ../../gcc-3.2.3/gcc/libgcc2.c:36:
../../gcc-3.2.3/gcc/config/i386/cygwin.h:447: syntax error before '*' token
../../gcc-3.2.3/gcc/config/i386/cygwin.h:447: warning: function
declaration isn't a prototype
../../gcc-3.2.3/gcc/config/i386/cygwin.h:449: syntax error before '*' token
../../gcc-3.2.3/gcc/config/i386/cygwin.h:449: warning: function
declaration isn't a prototype
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory
`/disk/raho/cygwin-cross-gcc/gcc/build-gcc-3.2.3/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory
`/disk/raho/cygwin-cross-gcc/gcc/build-gcc-3.2.3/gcc'
make: *** [all-gcc] Error 2
[raho@pcraho build-gcc-3.2.3]$
greeetings, rainer
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |