Re: Trouble building Newlib

"Jose Luis Honorato L." <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.user
Message-ID <CACfGhgWR8V3R_F-8vCwD6t1z4rn+Gf7poWJ-a7f_SrntrryyOw@mail.gmail.com>
Hi Nick,

> Try using the current mainline binutils development sources rather than
the
> 2.24 branch.  As in:
>
>   wget ftp://sourceware.org/pub/binutils/snapshots/binutils.tar.bz2

I had tried that before, but it fails with this error (same with CVS
checkout):

gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.24.51/binutils  -I.
-I../../binutils-2.24.51/binutils -I../bfd
-I../../binutils-2.24.51/binutils/../bfd
-I../../binutils-2.24.51/binutils/../include
-DLOCALEDIR="\"/usr/local/share/locale\""
-Dbin_dummy_emulation=bin_vanilla_emulation  -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Werror -g -O2 -MT bucomm.o -MD -MP -MF
.deps/bucomm.Tpo -c -o bucomm.o ../../binutils-2.24.51/binutils/bucomm.c
../../binutils-2.24.51/binutils/bucomm.c:130:7: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘VPARAMS’
../../binutils-2.24.51/binutils/bucomm.c:141:11: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘VPARAMS’
make[4]: *** [bucomm.o] Error 1
make[4]: Leaving directory
`/home/arqui/mspgcc-install2/msp430-binutils/binutils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/arqui/mspgcc-install2/msp430-binutils/binutils'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/arqui/mspgcc-install2/msp430-binutils/binutils'
make[1]: *** [all-binutils] Error 2
make[1]: Leaving directory `/home/arqui/mspgcc-install2/msp430-binutils'
make: *** [all] Error 2

Any clues?

Jose

On Mon, Mar 17, 2014 at 1:40 PM, Nicholas Clifton <[email protected]> wrote:
> Hi Jose,
>
>
>> Assembler messages:
>> Fatal error: unrecognised argument to -mcpu option 'msp430'
>
>
>> BINUTILS_PREFIX='binutils-2.24'
>> wget http://ftp.gnu.org/gnu/binutils/$BINUTILS_PREFIX.tar.gz
>
>
> Try using the current mainline binutils development sources rather than
the
> 2.24 branch.  As in:
>
>   wget ftp://sourceware.org/pub/binutils/snapshots/binutils.tar.bz2
>
> Cheers
>   Nick
>

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech

_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.