Hello,

I cloned the repositories for binutils and gcc from:
git://mspgcc.git.sourceforge.net/gitroot/mspgcc/binutils
git://mspgcc.git.sourceforge.net/gitroot/mspgcc/gcc

I find it more convenient to check out already patched code from the git
repository than download the original sources and patch them.

Then I switched to the last LTS Release: remotes/origin/lts/20120406

After that I did an out of source build of binutils using this configure
command:
 ../binutils/configure --target=msp430 --enable-languages=c
--program-prefix="msp430-" --prefix=/opt/mspgcc
("--enable-languages=c" does not seem to harm.)

The build went through smoothly and install succeded also.

I configured gcc with the same options to ../configure but when I tried
to compile I am stuck with this error:
---------------------------------
....
Running configure in multilib subdir mcpu-430x
pwd: /home/gunnar/tmp/msp430/gcc_build/msp430
mkdir mcpu-430x
configure: creating cache ./config.cache
checking build system type... x86_64-unknown-linux-gnu
checking host system type... msp430-unknown-none
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking for msp430-ar... /opt/mspgcc/msp430/bin/ar
checking for msp430-lipo... msp430-lipo
checking for msp430-nm... /home/gunnar/tmp/msp430/gcc_build/./gcc/nm
checking for msp430-ranlib... /opt/mspgcc/msp430/bin/ranlib
checking for msp430-strip... /opt/mspgcc/msp430/bin/strip
checking whether ln -s works... yes
checking for msp430-gcc... /home/gunnar/tmp/msp430/gcc_build/./gcc/xgcc
-B/home/gunnar/tmp/msp430/gcc_build/./gcc/ -B/opt/mspgcc/msp430/bin/
-B/opt/mspgcc/msp430/lib/ -isystem /opt/mspgcc/msp430/include -isystem
/opt/mspgcc/msp430/sys-include  -mcpu=430x
checking for suffix of object files... configure: error: in
`/home/gunnar/tmp/msp430/gcc_build/msp430/mcpu-430x/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/gunnar/tmp/msp430/gcc_build'
make: *** [all] Error 2
---------------------------------------------------------------

What did I do wrong? I tried to find actual build instructions but
always stubled about quite outdated stuff.
Is there a build-script for the last LTS release around? Or an apt
repository for ubuntu?

Greetings,

Gunnar Henne


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to