Hi,
I have the project of writing a complete guide on how to use msp430 microcontrolers with Slitaz. If everything goes well, the next step will be a Slitaz package. :-)
The first issue I am faced to, is to compile the compiler mspgcc4. I followed the instructions but the process ends with this message:
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/mspgcc4/build/binutils-2.21-build':
configure: error: C compiler cannot create executables
See `config.log' for more details.
sh do-binutils.sh "/opt/msp430-gcc-4.4.5" "2.21" "http://ftp.uni-kl.de" "build" exited with status code 77.
Failed to execute sh do-binutils.sh "/opt/msp430-gcc-4.4.5" "2.21" "http://ftp.uni-kl.de" "build" at buildgcc.pl line 248.
When checking the config.log file, I do not see any relevant point:
root@slitaz:/mspgcc4# cat build/binutils-2.21-build/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.64. Invocation command line was
$ /mspgcc4/build/binutils-2.21-build/../binutils-2.21/configure --prefix=/opt/msp430-gcc-4.4.5 --target=msp430 --disable-werror --disable-nls
## --------- ##
## Platform. ##
## --------- ##
hostname = slitaz
uname -m = i686
uname -r = 2.6.37-slitaz
uname -s = Linux
uname -v = #2 SMP Sat May 21 19:25:28 CEST 2011
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /opt/msp430-gcc-4.4.5/bin
Could any one give me some advices on where/what to check?
Thx
Stephane