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 <[EMAIL PROTECTED]> 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



_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to