Subject: Re: [Boost-build] Cannot build boost::serialization for x64 (crosscompile)
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-09-19 12:06:23
Pfligersdorffer, Christian wrote:
> using gcc : 4.0.0 : /path/to/ppc_6xx-g++;
> chooses the right compiler but still uses the wrong ar, objcopy and ld.
> See also
What are the correct ar, objcopy, and ld?
Boost.Build looks for a program call ar (e.g.), first
in the directory containing the compiler, and then
using gcc : 4.0.0 : /path/to/ppc_6xx-g++ : <archiver>/path/to/pcc_6xx-ar ;
I'm not sure how it picks the wrong ld, since it doesn't invoke ld directly
(only through g++, AFAIK).
> Approach 3.
> Finally if I create a ppc_bin folder with links g++ ->
> /path/to/ppc_6xx-g++ as I did for compiling version <= 1.35, now the
> clever bjam tries to run some resulting ppc-executables on my x86
Yeah, this is just wrong.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk