Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-07-22 09:44:37


Hi Scott,

> I'm using m10 with the latest bjam. I'm a new user so I apologize if
> this is a FAQ, but I couldn't find the answer anywhere.
>
> I'm trying to use the gcc.jam with a Sony supplied version of gcc. The
> target executable files need to have the extension "prx", rather than
> "exe". Is there a way to change that from the "using" line? Adding
>
> type.set-generated-target-suffix EXE : <toolset>gcc : prx ;
>
> to gcc.jam worked fine, but I couldn't find the syntax to do that
> outside of the file.

I think

using gcc : .......... ;
import type ;
type.set-generated-target-suffix EXE : <toolset>gcc : prx ;

should work.

> Also, it would be nice to automatically try the appropriate platform
> extension for executable files when searching the path. It took me a
> while to figure out why
>
> using gcc : : psp-g++ ;
>
> gave me
>
> warning: toolset gcc initialization:
> warning: can't find user-provided command 'psp-g++'
>
> though perhaps it's obvious to most people.

This is known issue, listed in TODO on the Wiki, and will be fixed soon.

- Volodya

 


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