Boost logo

Boost Users :

From: BRIDGES Dick (Dick.Bridges_at_[hidden])
Date: 2005-10-11 11:04:27


My apologies in advance if this question is only for the jamboost
mailing list but I very much need to cross-compile boost_1_33_0
and I can't seem to make this version work.

# bjam --v2 --version
Boost.Build V2 (Milestone10)
Boost.Jam 03.01.11

(I haven't received any responses on the jamboost mailing list
so I assume I'm formulating my question incorrectly. If there
is something wrong with the way I'm asing this question, would
someone please point it out to me?)

I am trying to compile a host (X86, linux) and a target (ARM9) version
of the boost_1_33_0 libraries using the "standard" (Core3) gcc and a
gcc-arm cross-compiler. Can someone point me to the documentation that
is "authoritative" for 1_33_0 and describes how to configure [which
files] and invoke bjam for multiple compilers on the same computer?

I found (and read) *LOTS* of historical material describing how to
configure and invoke bjam for v1 and v2 for prior versions. Vladimir
Prus provided an answer (in the form of a user-config.jam mod) for
1_32_0 last April...

<extract>
I'd use this:

     using gcc : 3.4 ;
     using gcc : 3.4arm : /path/one/arm-g++ : <other stuff> ;
     using gcc : 3.4ppc : /path/two/ppc-g++ : <other stuff> ;

and them

  bjam gcc-3.4 gcc-3.4arm gcc-3.4ppc
</extract>

...which worked fine with 1_32.0, but I can't get it to work with the
1_33_0 version. No matter how I invoke bjam, it seems to interpret
the compiler as the target.
    bjam gcc-3.4arm => "don't know how to make gcc-3.4arm"
    bjam --v2 gcc-3.4arm => "could not find main target gcc-3.4arm"
    bjam "-sTOOLS=gcc-3.4arm" => "gcc-3.4arm-tools-jam: No such file..."

I've been reduced to "trying things." Any advice or suggestions would
be greatly appreciated.

Regards,
"Desperate" Dick Bridges


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net