Mail Archives: cygwin/2003/05/01/20:27:38
There was a patch posted to the gcc mailing list in the past couple weeks.
(Actually two, one from me, one from someone else.)
??? wrote:
>
> Hi all.
>
> I have a problem installing a gcc-3.2 cross-compiler
> under Cygwin(cygwin-1.3.22.tar).
>
> ../configure --target ae32000-elf --prefix=/usr/local --enable-languages=c,c++ --with-gnu-as --with-gnu-ld --with-headers=... --with-newlib
>
> # (host : i686-pc-cygwin)
>
> When compiling the gnu-regex.c , error message is the following.
> ...
> gcc -c -DIN_GCC -DHAVE_CONFIG_H -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -I. -I.. -I../../../gcc-3.2/gcc/fixinc -I../../../gcc-3.2/gcc/fixinc/.. -I../../../gcc-3.2/gcc/fixinc/../config -I../../../gcc-3.2/gcc/fixinc/../../include ../../../gcc-3.2/gcc/fixinc/fixlib.c
> In file included from ../config.h:20,
> from ../../../gcc-3.2/gcc/fixinc/fixlib.h:30,
> from ../../../gcc-3.2/gcc/fixinc/fixlib.c:25:
> ../../../gcc-3.2/gcc/config/ae32000/ae32000.h:957:1: warning: C++ style comments are not allowed in ISO C89
> ../../../gcc-3.2/gcc/config/ae32000/ae32000.h:957:1: warning: (this will be reported only once per input file)
> gcc -DIN_GCC -DHAVE_CONFIG_H -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -I. -I.. -I../../../gcc-3.2/gcc/fixinc -I../../../gcc-3.2/gcc/fixinc/.. -I../../../gcc-3.2/gcc/fixinc/../config -I../../../gcc-3.2/gcc/fixinc/../../include -o fixincl.exe fixincl.o fixtests.o fixfixes.o server.o procopen.o gnu-regex.o fixlib.o ../../libiberty/libiberty.a
> gnu-regex.o(.text+0x6556): In function `regerror':
> /home/Administrator/Angel2/build-gcc-ae32000-elf/gcc/fixinc/../../../gcc-3.2/gcc/fixinc/gnu-regex.c:5723: undefined reference to `___mempcpy'
> collect2: ld returned 1 exit status
> make[2]: *** [full-stamp] Error 1
> make[2]: Leaving directory `/home/Administrator/Angel2/build-gcc-ae32000-elf/gcc/fixinc'
> make[1]: *** [fixinc.sh] Error 2
> make[1]: Leaving directory `/home/Administrator/Angel2/build-gcc-ae32000-elf/gcc'
> make: *** [all-gcc] Error 2
> + make install
> ...
>
> When compiling at the linux environment, it's no problem.
>
> How does it slove?
> Please give me some hits...
>
> If anybody could shed some light on the subject I would be very grateful.
>
> Cheers,
>
> Djkim.
--
Michael Eager Eager Consulting eager AT eagercon DOT com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -