From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ECJPw-0003JZ-Ft for qemu-devel@nongnu.org; Mon, 05 Sep 2005 12:01:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ECJPt-0003HM-QT for qemu-devel@nongnu.org; Mon, 05 Sep 2005 12:01:55 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ECJPt-0003Ed-EL for qemu-devel@nongnu.org; Mon, 05 Sep 2005 12:01:53 -0400 Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1ECJOr-0006hB-Fq for qemu-devel@nongnu.org; Mon, 05 Sep 2005 12:00:49 -0400 Message-ID: <431C6A83.4080808@gmx.com> Date: Mon, 05 Sep 2005 17:55:47 +0200 From: Martin Bochnig MIME-Version: 1.0 Subject: Re: [Qemu-devel] compiling qemu-0.7.2 on Solaris express (gcc-3.4.4) References: <20050905132132.NGTZ23320.eastrmmtao05.cox.net@smtp.east.cox.net> In-Reply-To: <20050905132132.NGTZ23320.eastrmmtao05.cox.net@smtp.east.cox.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: mb1x@gmx.com, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: sol10x86@cox.net, qemu-devel@nongnu.org Ben Taylor wrote: >in qemu-0.7.2/hw/apic.c > >gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I/export/src/qemu-05-18-05/test/qemu-0.7.2/target-i386 -I/export/src/qemu-05-18-05/test/qemu-0.7.2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/export/src/qemu-05-18-05/test/qemu-0.7.2/fpu -I/export/src/qemu-05-18-05/test/qemu-0.7.2/slirp -c -o apic.o /export/src/qemu-05-18-05/test/qemu-0.7.2/hw/apic.c >Assembler: apic.c > "/var/tmp//ccO3Ifuk.s", line 165 : Illegal mnemonic > "/var/tmp//ccO3Ifuk.s", line 165 : Syntax error >gmake: *** [apic.o] Error 1 > > >Ideas? > > > > Just use "gnu-as" (often called "gas") instead of SUNW's "/usr/ccs/bin/as" and (a patched) 0.7.2 will also compile on x86, not only on SPARC Solaris. On Solaris10 or 11_nevada it is not required to custom-build gcc for doing so anymore, just use "/usr/sfw/bin/gcc". It will then use gas, but still not gnu-ld. However, it works. martin