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]

Build problem for ARM on Cygwin


Hi folks,

This is a strange one and I hope someone can help me as it boggles the mind.


Recently I upgraded ( complete removal and re-installation ) of my version of
cygwin. I was having a few problems so I decided to get the latest updates.
Prior to removing this version of cygwin I could configure and make gcc successfully
for arm without a problem using the enclosed script, arm-elf. But when I changed
my cygwin configuration I started getting the following errors when I tried
to make it, I could configure a bootstrap gcc no problems.


gcc -DIN_GCC -DHAVE_CONFIG_H -g -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/usr/local/src/gnu/gcc-20030317/gcc/fixinc
-I/usr/local/src/gnu/gcc-20030317/gcc/fixinc/.. -I/usr/local/src/gnu/gcc-20030317/gcc/fixinc/../config
-I/usr/local/src/gnu/gcc-20030317/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':
/usr/local/src/gnu/gcc-20030317/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 `/usr/local/src/gnu/BUILD/gcc/gcc/fixinc'
make[1]: *** [fixinc.sh] Error 2
make[1]: Leaving directory `/usr/local/src/gnu/BUILD/gcc/gcc'
make: *** [all-gcc] Error 2


I have tried various different versions of gcc, some which worked prior to my
"upgrade". My binutils v2.13 builds without a glitch.

Any ideas?? In what file should memcpy be and where should it be located?

Thanks in advance,
Dave Mc Kenna




--
http://www.iol.ie

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe at sources dot redhat dot com


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