That won't help. The instruction the assembler is complaining about
is genuinely not an ARM opcode, and in any case GCC doesn't look at the
AS environment variable in this situation.
I expect the source code has some x86 assembly statements in it that
need to be removed.
p.
On Sun, Jan 13, 2002 at 04:31:07AM -0500, George France wrote:
> AS=arm-linux-as
>
> --George
>
> On Sunday 13 January 2002 04:06, Johan van Reijendam wrote:
> > Hi all,
> >
> > I am trying to figure out this error I am getting.
> > Got a ARM cross-compiler running on an i386.
> >
> > I am trying to compile tcpdump and get the following assembler related
> > error message during the compile ...
> >
> > ../configure --target=arm-linux --prefix=/opt/apps
> > --build=i386-pc-linux-gnu --host=arm-linux
> >
> > make AR=arm-linux-ar CC=arm-linux-gcc LD=arm-linux-ld NM=arm-linux-nm
> > RANLIB=arm-linux-ranlib SIZE=arm-linux-size STRIP=arm-linux-strip
> > OBJCOPY=arm-linux-objcopy CXX=arm-linux-c++ CPP=arm-linux-gcc
> >
> > arm-linux-gcc -O2 -DHAVE_CONFIG_H -I. -I../libpcap-0.6.2 -I./missing
> > -I/usr/include -I/usr/include/openssl -c ./print-domain.c
> > /tmp/ccv3rw5c.s: Assembler messages:
> > /tmp/ccv3rw5c.s:1238: Error: bad instruction `rorw $8,r3'
> > /tmp/ccv3rw5c.s:1242: Error: bad instruction `rorw $8,r3'
> > /tmp/ccv3rw5c.s:1246: Error: bad instruction `rorw $8,r3'
> > /tmp/ccv3rw5c.s:1249: Error: bad instruction `rorw $8,r2'
> > /tmp/ccv3rw5c.s:1256: Error: bad instruction `rorw $8,r1'
> > /tmp/ccv3rw5c.s:1430: Error: bad instruction `rorw $8,r1'
> > /tmp/ccv3rw5c.s:1455: Error: bad instruction `rorw $8,r1'
> > make: *** [print-domain.o] Error 1
> >
> > I have no clue as to what this is being caused by.
> > Help appreciated :-)
> >
> > Johan
> >
> > _______________________________________________
> > iPAQ mailing list
> > iPAQ@handhelds.org
> > http://handhelds.org/mailman/listinfo/ipaq
> > irc://irc.openprojects.net #ipaq
> _______________________________________________
> iPAQ mailing list
> iPAQ@handhelds.org
> http://handhelds.org/mailman/listinfo/ipaq
> irc://irc.openprojects.net #ipaq
>
Received on Sun Jan 13 03:22:29 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:21 EDT