Boost logo

Boost-Build :

From: Sam Partington (Sam.Partington_at_[hidden])
Date: 2004-02-02 10:10:25


On Mon, 2 Feb 2004 17:49:13 +0300, Vladimir Prus <ghost_at_[hidden]> wrote:
>> gccmt.jam : (which is exactly the same as gcc.jam but the following
>> lines
>> added)

> "exactly the same as gcc.jam"? Hmm... I'm not sure that's right.

Well no, I have replaced all instances of gcc in gccmt.jam with gccmt - I
figured the line :

feature.extend toolset : gccmt ;

declared the toolset, and in my user-config.jam I have the lines :

using msvc : 7.1 : "c:/Program Files/Microsoft Visual Studio .NET
2003/vc7" ;
using msvc : 6.5 : "c:/Program Files/Microsoft Visual Studio/vc98" ;
using gccmt : : C:/img/usr/mt/2.1.3b5/bin ;

I couldn't see anywhere else (except in test code) where gcc was defined

I didn't want to hack gcc.jam to work with my toolset, because it is quite
likely that i will want to get boost build working with the native gcc
toolset too.

>> type.register LDR : ldr : : main ;
>>
>> type.set-generated-target-suffix LDR : <toolset>gccmt : ldr ;
>> type.set-generated-target-suffix EXE : <toolset>gccmt : preelf ;
>>
>> generators.register-composing gccmt.ldlk : EXE : LDR : <toolset>gccmt ;
>
> Have you defined the "gccmt" feature anywhere? If gccmt.jam is the same
> as
> gcc.jam, then probably gccmt is not defined, and that's not good. The
> last
> generator will never work.
>
> I think you need to rename all 'gcc' to 'gccmt'.

See above :-)

> Maybe, you can run bjam with "--debug-generators" option and send me the
> output?

Of course :

http://www.sampartington.co.uk/bjam.txt

It seems to be struggling at the .c to .o phase, could that be due to an
ambiguity?

Sam

 


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