List Info

Thread: bjam -fx doesn't work.




bjam -fx doesn't work.
country flaguser name
United States
2007-09-11 13:00:47
Following instructions given by:

bjam --help-options
Boost.Jam Usage:

   bjam [ options... ] targets...

   * -a; Build all targets, even if they are current.
   * -fx; Read 'x' as the Jamfile for building instead of
searching for
     the Boost.Build system.
...

I tried:

cd ~/prog_dev/boost-svn/ro/trunk/sandbox/lje/bjam/
bjam -fJamfile.v2 a
Jamfile.v2:4: in module scope
rule project unknown in module

Compilation exited abnormally with code 1 at Tue Sep 11
12:57:40

yet:

cd ~/prog_dev/boost-svn/ro/trunk/sandbox/lje/bjam/
bjam a
...
...found 8 targets...

Compilation finished at Tue Sep 11 12:58:48

Jamfile.v2 contains:

exe a : a.cpp ;

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: bjam -fx doesn't work.
country flaguser name
United States
2007-09-11 13:35:45
on Tue Sep 11 2007, Larry Evans
<cppljevans-AT-cox-internet.com> wrote:

> Following instructions given by:
>
> bjam --help-options
> Boost.Jam Usage:
>
>    bjam [ options... ] targets...
>
>    * -a; Build all targets, even if they are current.
>    * -fx; Read 'x' as the Jamfile for building 
>      instead of searching for the Boost.Build system.
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

In other words, the entire build system is replaced with
'x'

>
> I tried:
>
> cd ~/prog_dev/boost-svn/ro/trunk/sandbox/lje/bjam/
> bjam -fJamfile.v2 a
> Jamfile.v2:4: in module scope
> rule project unknown in module
>
> Compilation exited abnormally with code 1 at Tue Sep 11
12:57:40
>
> yet:
>
> cd ~/prog_dev/boost-svn/ro/trunk/sandbox/lje/bjam/
> bjam a
> ...
> ...found 8 targets...
>
> Compilation finished at Tue Sep 11 12:58:48
>
> Jamfile.v2 contains:
>
> exe a : a.cpp ;

Naturally, 'exe' is a rule provided by Boost.Build so of
course it
isn't found when you override Boost.Build by using -f

-- 
Dave Abrahams
Boost Consulting
http://www.boost-cons
ulting.com

The Astoria Seminar ==> http://www.astoriasemin
ar.com

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: bjam -fx doesn't work.
country flaguser name
United States
2007-09-11 13:38:44
Larry Evans wrote:
> Following instructions given by:
> 
> bjam --help-options
> Boost.Jam Usage:
> 
>    bjam [ options... ] targets...
> 
>    * -a; Build all targets, even if they are current.
>    * -fx; Read 'x' as the Jamfile for building instead
of searching for
>      the Boost.Build system.
> ...
> 
> I tried:
> 
> cd ~/prog_dev/boost-svn/ro/trunk/sandbox/lje/bjam/
> bjam -fJamfile.v2 a
> Jamfile.v2:4: in module scope
> rule project unknown in module
> 
> Compilation exited abnormally with code 1 at Tue Sep 11
12:57:40

The -f option is a way of manually specifying the core jam
file that 
bjam uses, instead of using the compiled in Jambase 
<http://svn.boost.org/trac/boost/browser/
trunk/tools/jam/src/Jambase>. 
The compiled in one finds the boost-build.jam file to
bootstrap the 
Boost.Build files, or any other build system written on top
of bjam.


-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software
.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: bjam -fx doesn't work.
country flaguser name
United States
2007-09-11 14:01:58
On 09/11/07 13:35, David Abrahams wrote:
> on Tue Sep 11 2007, Larry Evans
<cppljevans-AT-cox-internet.com> wrote:
> 
>> Following instructions given by:
>>
>> bjam --help-options
>> Boost.Jam Usage:
>>
>>    bjam [ options... ] targets...
>>
>>    * -a; Build all targets, even if they are
current.
>>    * -fx; Read 'x' as the Jamfile for building 
>>      instead of searching for the Boost.Build
system.
>        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> In other words, the entire build system is replaced
with 'x'
> 
OOP.  Sorry, I just saw Jamfile and assumed it was
talking about the local Jamfile.  I couldn't imagine
why one would want to replace the whole Boost.Build system;
so,
I guess that's why I ignored that part.  What's
a possible reason for doing that?

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: bjam -fx doesn't work.
user name
2007-09-11 14:24:23
Larry Evans wrote:

> On 09/11/07 13:35, David Abrahams wrote:
>> on Tue Sep 11 2007, Larry Evans
<cppljevans-AT-cox-internet.com> wrote:
>> 
>>> Following instructions given by:
>>>
>>> bjam --help-options
>>> Boost.Jam Usage:
>>>
>>>    bjam [ options... ] targets...
>>>
>>>    * -a; Build all targets, even if they are
current.
>>>    * -fx; Read 'x' as the Jamfile for building
>>>      instead of searching for the Boost.Build
system.
>>       
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> 
>> In other words, the entire build system is replaced
with 'x'
>> 
> OOP.  Sorry, I just saw Jamfile and assumed it was
> talking about the local Jamfile.  I couldn't imagine
> why one would want to replace the whole Boost.Build
system; so,
> I guess that's why I ignored that part.  What's
> a possible reason for doing that?

Mainly, running small snippets of Jam language, for testing
purposes. Even for Python port, which replaces everything,
-fx is too heavy weapon to be used 

- Volodya



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )