$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Hughes, James (jhughes_at_[hidden])
Date: 2006-08-10 04:02:08
Hi, 
I cross compile to an Arm platform with the following...
bjam
"-sGCC_ROOT_DIRECTORY=/opt/montavista/mobilinux/devkit/arm/iwmmxt_le"
"-sGCC=iwmmxt_le-gcc" "-sGXX=iwmmxt_le-g++" stage
This builds the libs to a stage folder, rather than installing them. You
can then copy to the target from there.
I used to get a hat load of compile faults, but it turned out to be a
fault with the Montavista GCC compiler - fixed now.
James
> -----Original Message-----
> From: boost-users-bounces_at_[hidden] 
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of 
> Pfligersdorffer, Christian
> Sent: 09 August 2006 14:51
> To: Boost-Users (E-Mail)
> Subject: [Boost-users] Cross-compiling boost
> 
> Dear boost-community,
> 
> has anyone experience in cross-compiling boost? I tried to 
> build the whole thing using eldk ppc_6xx-gcc for linux @ 
> power pc, doing the build process on linux @ x86. It 
> generated object code for x86 whatever I did. Thought about 
> writing a toolset but I don't understand a single bit of what 
> happens in gcc-tools.jam :-(
> 
> In effect I'd need the possibility to add a prefix for the 
> gcc-tools, because all the gcc, g++, ld etc. are named 
> ppc_6xx-gcc, ppc_6xx-g++, ppc_6xx-ld instead. And I'd want to 
> specify PPC as the target platform while building on a 
> different (x86) platform.
> 
> Hoping that someone has an idea.
> Yours, Christian Pfligersdorffer
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://listarchives.boost.org/mailman/listinfo.cgi/boost-users
> 
This message (including any attachments) contains confidential 
and/or proprietary information intended only for the addressee.  
Any unauthorized disclosure, copying, distribution or reliance on 
the contents of this information is strictly prohibited and may 
constitute a violation of law.  If you are not the intended 
recipient, please notify the sender immediately by responding to 
this e-mail, and delete the message from your system.  If you 
have any questions about this e-mail please notify the sender 
immediately.