From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GiEGe-0002Go-9p for qemu-devel@nongnu.org; Thu, 09 Nov 2006 13:04:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GiEGc-0002Cb-7n for qemu-devel@nongnu.org; Thu, 09 Nov 2006 13:04:47 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GiEGb-0002CH-WB for qemu-devel@nongnu.org; Thu, 09 Nov 2006 13:04:46 -0500 Received: from [64.233.184.225] (helo=wr-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GiEGb-0003GT-Il for qemu-devel@nongnu.org; Thu, 09 Nov 2006 13:04:45 -0500 Received: by wr-out-0506.google.com with SMTP id i31so162247wra for ; Thu, 09 Nov 2006 10:04:45 -0800 (PST) Message-ID: <779506c70611091004o96ad707y42db65579f879f7b@mail.gmail.com> Date: Thu, 9 Nov 2006 13:04:43 -0500 From: "Leonardo Reiter" Subject: Re: [Qemu-devel] 64-bit toolchain for Solaris 10 on amd64? In-Reply-To: <20061109174953.16712.qmail@web30905.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061109174953.16712.qmail@web30905.mail.mud.yahoo.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Fantastic, thank you. I did indeed try the sfw gcc and it compiles okay with -m64, but it does not use GNU ld and has problems linking. I need to revisit that because I think there is a solution that I am missing. I also did send email to the blastwave maintainers but have not received a response yet. Thanks again for your help, Leo Reiter On 11/9/06, Eric Lowe wrote: > > the blastwave toolchain installed as suggested, the gcc 3.4.5 still > > does not support -m64. For example, when compiling a simple test > > program (with just an empty main() function): > > $ /opt/csw/gcc3/bin/gcc -m64 /tmp/test.c > /tmp/test.c:1: sorry, unimplemented: 64-bit mode not compiled in > > Hmph. I would suggest you take this up with the maintainer of the gcc packages on Blastwave. > > > this is also of course true with the default gcc that comes with > > Solaris, the one from sunfreeware, as well as any GCC that I can > > I do not know if the latest S10 update release gcc in /usr/sfw/bin has all of the fixes needed to compile QEMU correctly, but I do know that compiler does have 64-bit support. > > > I understand that the Open Solaris project has binaries already > > compiled, but I need to build QEMU from source on my own on this > > platform, and it has to be a 64-bit binary. > > The binaries I built originally were built using the /usr/sfw/bin/gcc on OpenSolaris build 46... no magic. I do not recall which toolchain was used by Martin to build the packages. Hopefully Martin is watching this and will respond on what he did to build the packages. ;) > > - Eric > > > > > > > > ____________________________________________________________________________________ > Want to start your own business? > Learn how on Yahoo! Small Business. > http://smallbusiness.yahoo.com/r-index > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel >