building python for multiple targets

Bruce Edge bedge at troikanetworks.com
Thu Mar 15 11:52:58 EST 2001


Just a followup,

Is it possible to build python to be relacatable?
So the same runtime tree can be placed in /usr/local/python, or in
/home/anyone/target/usr/local/python?


Bruce Edge wrote:
> 
> I need to build Python for multiple targets from one host.
> 
> One target is the host, the other is for embedded Linux, with it's own
> compiler, libs, include, etc, all of which are installed in say
> /usr/local/rtlinux/...
> 
> The host build is simple, ./configure, make, make install.
> 
> The target one is ugly, currently I'd doing:
>   ./configure --include=<rtpath> --bindir=/usr/local/rtlinux/bin
> --sbindir=</usr/local/rtlinux/sbin ....<every other damn ./configure
> option there is>
> 
> Is there a better way?



More information about the Python-list mailing list