[plt-scheme] Cross compiling for linux-arm

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Feb 25 19:56:21 EST 2003

At 25 Feb 2003 23:47:53 +0000, Adrian Matellanes wrote:
>   ./configure --host=arm-linux --x-libraries=path-to-x-libraries

Don't you mean --target=arm-linux ? Even if I understand --target
versus --host correctly, I have no idea whether it will work.

The only time I successfully cross-compiled something (not PLT Scheme),
I used something like

 env CC=/usr/share/arm/bin/cc LD=/usr/share/arm/bin/ld ./configure

where /usr/share/arm/bin/cc is the cross-compiler for Arm, etc.

To use that strategy for PLT Scheme, you'll also need to set CC_FOR_BUILD
to a compiler for the host (i.e., the machine where you're building).


Posted on the users mailing list.