Hi,
I know there are packages in the apt repository, but I wanted to compile a
fresh pull from git.
So I pulled the latest source from git:
git clone git://mspgcc4.git.sourceforge.net/gitroot/mspgcc4/mspgcc4
Then proceeded to configure & compile:
sudo sh buildgcc.sh
At first it complains about linker (binutils), that was because the
http://ftp.uni-kl.de had removed the 2.21 version from their site.
So I changed the buildgcc.pl and buildgcc.sh versions to 2.22, and binutils
compiled ok after that.
But compiling GCC fails, with following message:
checking for msp430-gcc...
/home/jlumme/x_compile/msp430/mspgcc4/build/gcc-4.4.5-build/./gcc/xgcc
-B/home/jlumme/x_compile/msp430/mspgcc4/build/gcc-4.4.5-build/./gcc/
-B/home/jlumme/x_compile/msp430/msp430/bin/
-B/home/jlumme/x_compile/msp430/msp430/lib/ -isystem
/home/jlumme/x_compile/msp430/msp430/include -isystem
/home/jlumme/x_compile/msp430/msp430/sys-include -mmcu=msp3
checking for suffix of object files... configure: error: in
`/home/jlumme/x_compile/msp430/mspgcc4/build/gcc-4.4.5-build/msp430/msp3/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory
`/home/jlumme/x_compile/msp430/mspgcc4/build/gcc-4.4.5-build'
make: *** [all] Error 2
sh do-gcc.sh "/home/jlumme/x_compile/msp430" "4.4.5" "http://ftp.uni-kl.de"
"build" "gcc-4.x" "4.3.1" "2.4.2" exited with status code 2.
Failed to execute sh do-gcc.sh "/home/jlumme/x_compile/msp430" "4.4.5" "
http://ftp.uni-kl.de" "build" "gcc-4.x" "4.3.1" "2.4.2" at
./buildgcc.plline 248, <STDIN> line 9.
config.log can be found here: http://paste.ubuntu.com/1210304/
Does anyone know what might be the problem, why it doesn't compile ?
I am running 64bit version of Ubuntu 12.10, on a 3.5.0-14 kernel
Thanks!
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users