[Pnet-developers] building pnet using arm cross-compiler
From:
Mike Voytovich
Subject:
[Pnet-developers] building pnet using arm cross-compiler
Date:
Thu, 15 Sep 2005 15:04:11 -0700
Hi,
I'm attempting to build pnet 0.7.2 tarballs for an embedded arm target,
using gcc on an x86 box set up to cross-compile for arm. The
cross-compiler works fine (I've been able to build and run simple apps
with it) but I'm having some difficulty building pnet. I haven't
been able to find any howto's describing the process, although I do see
statements that it runs on a variety of target platforms, including arm.
I suppose that treecc can be built for x86, and pnetlib as well (since
the bytecode should run on all platforms). But what about the
configure for pnet itself? Simply setting the configure --target
option doesn't seem to work, neither does overriding the CC and LD
environment variables for the parts of the tree that need to be
compiled for the target (ilrun and native libraries). Has anyone
been successful with this? Any other gotchas regarding arm
targets or cross-compiling in general that others are aware of?