[OT] RE: Does make have ARM version?
Dave Korn
dave.korn@artimi.com
Tue Mar 20 12:35:00 GMT 2007
On 19 March 2007 21:19, Wenbin Zhang wrote:
> Hi Dave,
Hi Wenbin, I've moved this conversation across from the make mailing list to
the binutils mailing list, since this seems likely to be a problem with your
binutils version. For those who're just joining us, the symptom is...
if arm-linux-gcc -DLOCALEDIR=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\"
-DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT implicit.o -MD -MP -MF
".deps/implicit.Tpo" -c -o implicit.o implicit.c; \
then mv -f ".deps/implicit.Tpo" ".deps/implicit.Po"; else rm -f
".deps/implicit.Tpo"; exit 1; fi
/tmp/ccOKs3Ho.s: Assembler messages:
/tmp/ccOKs3Ho.s:2171: Error: immediate expression expected -- `wstrw
wcgr0,[r2,r1,asl#2]'
make[2]: *** [implicit.o] Error 1
which I'm guessing represents either a mismatch between binutils and gcc
versions, or a bug in the version of binutils used.
> Thank you very much, i tried
> #arm-linux-gcc -v
> gcc version 3.3.6
>
> #arm-linux-as -v
> GNU assembler version 2.15 (arm-linux) using BFD version 2.15
>
> Is that correct?
I think you probably need to try more recent binutils. There are known to
have been a few bugs in that version, so it would be worth trying 2.16 or even
the very recent 2.17. Binutils is very simple to compile for a cross-target,
much much easier than gcc; it should be as simple as unpack the tarball, run
"./configure --prefix=<your existing toolchain prefix> --target=arm-linux &&
make all && make install".
> Btw, I have no arm-linux-gas. The only thing is arm-linux-as.
Sorry for the confusion; they are one and the same. 'GAS' means the Gnu
assembler, but it installs itself under the filename 'as' (with or without
target-specific prefix) because that's the traditional command to invoke an
assembler. (So you could also say that 'GAS' stands for 'Gnu as').
cheers,
DaveK
--
Can't think of a witty .sigline today....
More information about the Binutils
mailing list