Run the configure script something like :
CC=<cross-compiler> ./configure --host=powerpc-linux <.. other configure opts>
I don't think you have to override LD or NM, but you can in the same way as for CC...
Rob.
----Original Message Follows---- From: Steven Augart <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: cross-building Classpath? Date: Fri, 18 Jun 2004 04:53:13 -0400
Has anyone successfully cross-build GNU Classpath from x86 Linux to PowerPC Linux, or done any sort of cross-build, for that matter?
We have more than one user who would like to be using a PowerPC simulator (Dynamic SuperScalar, DSS) but has only an x86 machine to do building on.
I'm not clear on how one runs Classpath's configure script (or, indeed, any autoconf-generated configure script) in a cross-build.
Thanks,
--Steve Augart
-- Steven Augart
Jikes RVM, a free, open source, Virtual Machine: http://oss.software.ibm.com/jikesrvm
_______________________________________________ Classpath mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/classpath
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger
_______________________________________________ Classpath mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/classpath

