Hi,

I'm attempting to build the mspgcc projects, and have some problems.
I'm building on a W2K system and have installed the most recent Cygwin package.

Here are the steps that I have taken:
1) get mspgcc projects from CVS (OK)
2) get gcc-core-3.2.3.tar.bz2 and binutils-2.14.tar.bz2
3) configure and make binutils according to build procedure instructions
(http://mspgcc.sourceforge.net/manual/x1575.html)
4) configure gcc according to instructions - this is ok
5) make gcc: this is where I run into the following problem:

Problem 1:
I get this error in gnu-regex.c:

gnu-regex.c:5724: warning: implicit declaration of function `__mempcpy'
gcc -DIN_GCC -DHAVE_CONFIG_H -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-st
rings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long
-long -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -Wstrict-protot
ypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -I. -I.. -I. -I
./.. -I./../config -I./../../include  -o fixincl.exe fixincl.o fixtests.o fixfix
es.o server.o procopen.o gnu-regex.o fixlib.o ../../libiberty/libiberty.a
gnu-regex.o(.text+0x6556): In function `regerror':
/usr/local/build/gcc-3.2.3/gcc/fixinc/gnu-regex.c:5724: undefined reference to `
___mempcpy'

If I change gnu-regex.c to get past this error, I get the following error:

libgcc2.c:126: warning: implicit declaration of function `abort'
/usr/local/build/gcc-3.2.3/gcc/xgcc -B/usr/local/build/gcc-3.2.3/gcc/ -B/usr/loc
al/msp430/msp430/bin/ -B/usr/local/msp430/msp430/lib/ -isystem /usr/local/msp430
/msp430/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstric
t-prototypes -Wmissing-prototypes -isystem ./include  -DDF=SF -Dinhibit_libc -g
-g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I. -I./. -I./c
onfig -I./../include  -mmcu=msp2 -DL_mulvsi3 -c ./libgcc2.c -o libgcc/msp2/_mulv
si3.o
libgcc2.c: In function `__mulvsi3':
libgcc2.c:142: warning: implicit declaration of function `abort'
/usr/local/tmp/cc33DE1s.s: Assembler messages:
/usr/local/tmp/cc33DE1s.s:113: Error: unknown operand r2dintcall#__umulsi3hwpopr
2
make[2]: *** [libgcc/msp2/_mulvsi3.o] Error 1
make[2]: Leaving directory `/usr/local/build/gcc-3.2.3/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/usr/local/build/gcc-3.2.3/gcc'
bash-2.05b$

I've tried various things, and have double-checked that I'm using the same 
--target and --prefix settings in all steps. I've also tried to keep everything 
as normal as possible in terms of directory locations, but haven't been able to 
resolve these errors.

One thing I'm not sure about is the version of binutils that I downloaded: I 
think it's the latest release version, but it is different that the version 
specified in the mspgcc build instructions.

Appreciate any help,

loren

__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

Reply via email to