Boost logo

Boost-Build :

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.
> Why?
> 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
in PATH.

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
> system!

Yeah, this is just wrong.

In Christ,
Steven Watanabe

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at