Problems installing 'binutils'
Andrea 'Fyre Wyzard' Bocci
fwyzard@inwind.it
Fri Feb 1 09:10:00 GMT 2002
At 16.39 01/02/2002 (GMT +0000), kabir.patel@uk.andersen.com wrote:
>I did this and got the following errors:
>
>============================
>/usr/ccs/bin/as: "/var/tmp/cc7WhRqH.s", line 1441: error: unknown opcode
>".subse
>ction"^M
>/usr/ccs/bin/as: "/var/tmp/cc7WhRqH.s", line 1441: error: statement syntax^M
>/usr/ccs/bin/as: "/var/tmp/cc7WhRqH.s", line 1452: error: unknown opcode
>".previ
>ous"^M
>/usr/ccs/bin/as: "/var/tmp/cc7WhRqH.s", line 1452: error: statement syntax^M
>/usr/ccs/bin/as: "/var/tmp/cc7WhRqH.s", line 4094: error: unknown opcode
>".subse
>ction"^M
>/usr/ccs/bin/as: "/var/tmp/cc7WhRqH.s", line 4094: error: statement syntax^M
>/usr/ccs/bin/as: "/var/tmp/cc7WhRqH.s", line 4167: error: unknown opcode
>".previ
>ous"^M
>
>============================
I'm actually clueless regarding binutils. On Linux they work fine, so I've
never needed to look much into them.
So, from now on, I'll be guessing.
The "assembler can't assemble the output from gcc" began after you upgraded
to gcc 3.0. The old compiler worked fine.
A solution would be to try to build binutils with the old (Sun ?) compiler.
Then you should reconfigure (--with.gnu-as --with-as="..." --with-gnu-ls
--with-ld="...") and rebuild (make bootstrap, make install) gcc to use the
new tools.
I can't come with an easier solution, maybe somebody else, with more
knowledge about binutils and the Sun tool chain will.
I hope this will be useful,
fwyzard
More information about the Gcc-help
mailing list