Problems compiling gcc 3.3 on cygwin
Svein E. Seldal
Svein.Seldal@solidas.com
Sat Apr 5 02:07:00 GMT 2003
Hello,
I am trying to compile the gcc-3_3-branch under cygwin (for the tic4x
target), but it fails. To verify the bug I have also checked out an old
gcc from the date 20030315 (because I did successfully compile gcc at
that date). But both compilation did fail. I have also tried to compile
gcc as a native compiler, but it still fails. Compilation of any other
cross compiler also fails.
I am running Windows XP, cygwin 1.3.22-1, gcc 3.2-3 (20020927) and
binutils 20030307-1. I fear that this bug is present on my system only.
Can anyone else running cygwin please confirm or reject the problems I'm
having? Any suggestions to fix the problem would be very welcome...
I think its very strange, because I did not have that problem when I
compiled gcc 3.3 in the 15th march, but now I do -- using the very same
code.
Thanks,
Svein
Snapshot from "make":
gcc -DIN_GCC -DHAVE_CONFIG_H -O2 -DIN_GCC -DCROSS_COMPILE -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/fixinc
-I../../../gcc/fixinc/.. -I../../../gcc/fixinc/../config
-I../../../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):gnu-regex.c: undefined reference to `___mempcpy'
collect2: ld returned 1 exit status
make[2]: *** [full-stamp] Error 1
make[2]: Leaving directory
`/cygdrive/d/Prosjekt/gnu/gcc-3.3-branch/build.inst.tic4x/gcc/fixinc'
make[1]: *** [fixinc.sh] Error 2
make[1]: Leaving directory
`/cygdrive/d/Prosjekt/gnu/gcc-3.3-branch/build.inst.tic4x/gcc'
make: *** [all-gcc] Error 2
... but if I grep the configure output, the following is printed:
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
More information about the Gcc
mailing list