Hi Friends,

        I am finding difficulty in Installing the cross compiler version
gcc-3.2.3 on my red hat linux server version 5.5  machine. I am getting
problems when using the make command after configuring the target location
to /usr/local/msp430.I am using this method to install cross compiler of
version 3.2.3 from the URL: http://www.mikrocontroller.net/en/mspgcc.

#gcc

 wget ftp://gcc.gnu.org/pub/gcc/releases/gcc-3.2.3/gcc-core-3.2.3.tar.bz2
 tar xjvf gcc-core-3.2.3.tar.bz2

 cvs -z3 -d:pserver:[email protected]:/cvsroot/mspgcc
co gcc/gcc-3.3
 cp -r gcc/gcc-3.3/* gcc-3.2.3/

 cd gcc-3.2.3
 ./configure --prefix=/usr/local/msp430 --target=msp430
 make
 make install
 cd ..

I successfully completed the 7 steps but I am trying to execute the make
command  it is showing the following problem.

make[1]: Entering directory `/tmp/mspgcc/gcc-3.2.3/
libiberty'
if [ x"" != x ] && [ ! -d pic ]; then \
         mkdir pic; \
       else true; fi
touch stamp-picdir
if [ x"" != x ]; then \
         gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include  -W -Wall
-Wtraditional -pedantic  regex.c -o pic/regex.o; \
       else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include  -W -Wall -Wtraditional
-pedantic regex.c
In file included from ./../include/xregex.h:26,
                from regex.c:195:
./../include/xregex2.h:548: warning: ISO C90 does not support ‘static’ or
type qualifiers in parameter array declarators
In file included from regex.c:649:
regex.c: In function ‘byte_regex_compile’:
regex.c:2518: warning: implicit declaration of function ‘realloc’
regex.c: In function ‘byte_compile_range’:
regex.c:4602: warning: signed and unsigned type in conditional expression
regex.c:4612: warning: signed and unsigned type in conditional expression
regex.c:4612: warning: signed and unsigned type in conditional expression
regex.c: At top level:
regex.c:1428: warning: traditional C rejects string constant concatenation
regex.c: In function ‘xregcomp’:
regex.c:8099: warning: signed and unsigned type in conditional expression
regex.c: In function ‘xregerror’:
regex.c:8234: warning: unused parameter ‘preg’
if [ x"" != x ]; then \
         gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include  -W -Wall
-Wtraditional -pedantic  cplus-dem.c -o pic/cplus-dem.o; \
       else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include  -W -Wall -Wtraditional
-pedantic cplus-dem.c
cplus-dem.c: In function ‘ada_demangle’:
cplus-dem.c:1003: warning: dereferencing type-punned pointer will break
strict-aliasing rules
cplus-dem.c:1056: warning: dereferencing type-punned pointer will break
strict-aliasing rules
cplus-dem.c: In function ‘demangle_prefix’:
cplus-dem.c:2745: warning: implicit declaration of function ‘strspn’
cplus-dem.c:2745: warning: incompatible implicit declaration of built-in
function ‘strspn’
cplus-dem.c: In function ‘gnu_special’:
cplus-dem.c:2945: warning: implicit declaration of function ‘strcspn’
cplus-dem.c:2945: warning: incompatible implicit declaration of built-in
function ‘strcspn’
cplus-dem.c:2951: warning: implicit declaration of function ‘strpbrk’
cplus-dem.c:2951: warning: incompatible implicit declaration of built-in
function ‘strpbrk’
cplus-dem.c:2971: warning: incompatible implicit declaration of built-in
function ‘strpbrk’
cplus-dem.c: In function ‘demangle_fund_type’:
cplus-dem.c:3952: warning: implicit declaration of function ‘sscanf’
cplus-dem.c:3952: warning: incompatible implicit declaration of built-in
function ‘sscanf’
if [ x"" != x ]; then \
         gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include  -W -Wall
-Wtraditional -pedantic  cp-demangle.c -o pic/cp-demangle.o; \
       else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include  -W -Wall -Wtraditional
-pedantic cp-demangle.c
cp-demangle.c: In function ‘substitution_add’:
cp-demangle.c:589: warning: implicit declaration of function ‘realloc’
cp-demangle.c: In function ‘cplus_demangle_v3’:
cp-demangle.c:3761: warning: implicit declaration of function ‘fprintf’
cp-demangle.c:3761: warning: incompatible implicit declaration of built-in
function ‘fprintf’
cp-demangle.c:3761: error: ‘stderr’ undeclared (first use in this function)
cp-demangle.c:3761: error: (Each undeclared identifier is reported only once
cp-demangle.c:3761: error: for each function it appears in.)
cp-demangle.c: In function ‘java_demangle_v3’:
cp-demangle.c:3806: warning: incompatible implicit declaration of built-in
function ‘fprintf’
cp-demangle.c:3806: error: ‘stderr’ undeclared (first use in this function)
cp-demangle.c: In function ‘demangle_v3_with_details’:
cp-demangle.c:3899: warning: incompatible implicit declaration of built-in
function ‘fprintf’
cp-demangle.c:3899: error: ‘stderr’ undeclared (first use in this function)
cp-demangle.c:3907: warning: incompatible implicit declaration of built-in
function ‘fprintf’
make[1]: *** [cp-demangle.o] Error 1
make[1]: Leaving directory `/tmp/mspgcc/gcc-3.2.3/libiberty'
make: *** [all-libiberty] Error 2
[r...@acslsrv gcc-3.2.3]#



                   I have already installed gcc 3.3.2 using CDK4MSP on
another red hat linux client machine.It was installed successfully.But while
building the project it showing me that it will not support my
msp430x1611.So I took another red hat linux server machine to install the
gcc-3.2.3 using the sorceforge.net.


             Can any one help me in installing the gcc 3.3.2 on red hat
linux machine.Even I tried to install gcc-4.0.2 I got different type of
problem.But I think msp430x1611 will be supported by gcc 3.3.2 so no need to
install high version of gcc.So I am sending the problems which I have
encountered with gcc-3.2.3.

Looking for any one's help seriously.

Regards,
Chandrika.


-- 
Chandrika
140, Airport Rd, Apt. 6,
West Lafayette, IN 47906
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to