From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30725 invoked by alias); 1 Feb 2002 17:10:43 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 30616 invoked from network); 1 Feb 2002 17:10:37 -0000 Received: from unknown (HELO mailrelay1.inwind.it) (212.141.54.101) by sources.redhat.com with SMTP; 1 Feb 2002 17:10:37 -0000 Received: from quigonn.inwind.it (62.98.133.193) by mailrelay1.inwind.it (5.5.053) id 3C5630AE0026CCBC; Fri, 1 Feb 2002 18:10:32 +0100 Message-Id: <5.1.0.14.0.20020201175754.02f4b4a0@popmail.inwind.it> X-Sender: fwyzard@popmail.inwind.it X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 01 Feb 2002 09:10:00 -0000 To: kabir.patel@uk.andersen.com From: Andrea 'Fyre Wyzard' Bocci Subject: Re: Problems installing 'binutils' Cc: xuesongguo@sohu-inc.com,gcc-help@gcc.gnu.org,me@rupey.net In-Reply-To: <80256B53.005B10AA.00@lonhm0004.arthurandersen.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-SW-Source: 2002-02/txt/msg00014.txt.bz2 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