Hello, 
i have big trouble compiling the compiler under linux.
I use the following commands:

cvs -z3 -d:pserver:anonym...@cvs.mspgcc.sourceforge.net:/cvsroot/mspgcc co gcc
#
#  Build the compiler
#
/bin/rm -rf gcc-3.2
tar -zxf gcc-3.2.tar.gz
/bin/cp -a gcc/gcc-3.3/* gcc-3.2/
cd gcc-3.2
./configure --target=msp430 --prefix=/usr/local/msp430
(make clean && make && make install) || exit
make install
cd ..
rm -r gcc-3.2

../../include/xregex2.h:551: warning: ISO C89 does not support `static' or 
type qualifiers in parameter array declarators
regex.c:305: conflicting types for `uintptr_t'
/usr/local/msp430/msp430/include/sys/inttypes.h:49: previous declaration of 
`uintptr_t'
In file included from regex.c:649:
regex.c: In function `byte_regex_compile':
regex.c:2527: warning: implicit declaration of function `free'
 ....
regex.c:8283: warning: function `free' was previously declared within a block
make[1]: *** [regex.o] Error 1
make[1]: Leaving directory `/home/haape/mspgcc/gcc-3.2/msp430/libiberty'

What is wrong ?
gcc is: 
gcc version 2.95.4 20011002 (Debian prerelease)

I have also tried other linux boxes but I always get :

make[2]: Leaving directory `/hda2/mspgcc/gcc-3.2/gcc/intl'
/hda2/mspgcc/gcc-3.2/gcc/xgcc -B/hda2/mspgcc/gcc-3.2/gcc/ 
-B/usr/local/msp430/msp430/bin/ -B/usr/local/msp430/msp430/lib/ -isystem 
/usr/local/msp430/msp430/include -dumpspecs > tmp-specs
mv tmp-specs specs
make[1]: execvp: mv: Too many levels of symbolic links

but there is no link at all.
Am i using the wrong compiler to compile mspgcc?

Many thanks.

Rainer Haape


-- 
Rainer Haape
ha...@a3m.com
phone:  0531 2 33 77 42
fax:    0531 33 86 42
www.a3m.com



Reply via email to