List Info

Thread: migration and general questions




migration and general questions
country flaguser name
United States
2007-10-14 21:26:38
Couple more migration and general questions:

What is correspondence to INTEL_BASE_MSVC_TOOLSET?

Will --preserve-test-targets still work? Can I add it ot the
user-config?

Can we make bjam to automatically log all it's output into
something like 
bjam.<toolset>.out?

Gennadiy 



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

Re: migration and general questions
country flaguser name
United States
2007-10-21 04:06:22
"Gennadiy Rozental" <rogeeffgmail.com> wrote in message 
news:feuj49$nb$1ger.gmane.org...
> Couple more migration and general questions:
>
> What is correspondence to INTEL_BASE_MSVC_TOOLSET?
>
> Will --preserve-test-targets still work? Can I add it
ot the user-config?
>
> Can we make bjam to automatically log all it's output
into something like 
> bjam.<toolset>.out?

Any update on these?

Gennadiy 



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

Re: migration and general questions
country flaguser name
United States
2007-10-21 13:00:35
Gennadiy Rozental wrote:
> "Gennadiy Rozental" <rogeeffgmail.com> wrote in message 
> news:feuj49$nb$1ger.gmane.org...
>> Couple more migration and general questions:
>>
>> What is correspondence to INTEL_BASE_MSVC_TOOLSET?

Reading from intel-win.jam file...

# Initializes the intel toolset for windows
rule init ( version ? :     # the compiler version
             command * :     # the command to invoke the
compiler itself
             options *       # Additional option:
<compatibility>
                             # either 'vc6', 'vc7', 'vc7.1'
                             # or 'native'(default).
           )

>> Will --preserve-test-targets still work?

Doing a grep/find in testing.jam...

local argv = [ modules.peek : ARGV ] ;
if --preserve-test-targets in $(argv)
{
     preserve-test-targets = true ;
}

So, yes it will work.

>> Can I add it ot the user-config?

Hm, looking at one of my user-config.jam files 
<http://beta.boost.org/development/tests/trunk/
RSI%20Droid.html>, you 
should be able to do:

modules.poke : ARGV : [ modules.peek : ARGV ]
--preserve-test-targets ;

>> Can we make bjam to automatically log all it's
output into something like 
>> bjam.<toolset>.out?

It's possible to change BB and bjam to do that but it's not
a trivial 
change, as it would require adding some new builtins to
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: migration and general questions
country flaguser name
United States
2007-10-22 23:16:42
"Rene Rivera" <grafikrobotgmail.com> wrote in message 
news:471B93C3.6040003gmail.com...
> Gennadiy Rozental wrote:
>> "Gennadiy Rozental" <rogeeffgmail.com> wrote in message
>> news:feuj49$nb$1ger.gmane.org...
>>> Couple more migration and general questions:
>>>
>>> What is correspondence to
INTEL_BASE_MSVC_TOOLSET?
>
> Reading from intel-win.jam file...
>
> # Initializes the intel toolset for windows
> rule init ( version ? :     # the compiler version
>             command * :     # the command to invoke the
compiler itself
>             options *       # Additional option:
<compatibility>
>                             # either 'vc6', 'vc7',
'vc7.1'
>                             # or 'native'(default).
>           )

Umm. I am not am expert in BB. What should I add to either
command line, 
Jamfile or user-config to specify the target msvc ?

>>> Can I add it ot the user-config?
>
> Hm, looking at one of my user-config.jam files
> <http://beta.boost.org/development/tests/trunk/
RSI%20Droid.html>, you
> should be able to do:
>
> modules.poke : ARGV : [ modules.peek : ARGV ]
--preserve-test-targets ;
>
>>> Can we make bjam to automatically log all it's
output into something 
>>> like
>>> bjam.<toolset>.out?
>
> It's possible to change BB and bjam to do that but it's
not a trivial
> change, as it would require adding some new builtins to
bjam.

Sounds line nice to have feature. For now I am using wrapper
script and 
tee-ing output.

Gennadiy 



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

Re: migration and general questions
country flaguser name
United States
2007-10-22 23:32:09
Gennadiy Rozental wrote:
> "Rene Rivera" <grafikrobotgmail.com> wrote in message 
> news:471B93C3.6040003gmail.com...
>> Gennadiy Rozental wrote:
>>> "Gennadiy Rozental" <rogeeffgmail.com> wrote in message
>>> news:feuj49$nb$1ger.gmane.org...
>>>> Couple more migration and general
questions:
>>>>
>>>> What is correspondence to
INTEL_BASE_MSVC_TOOLSET?
>> Reading from intel-win.jam file...
>>
>> # Initializes the intel toolset for windows
>> rule init ( version ? :     # the compiler version
>>             command * :     # the command to invoke
the compiler itself
>>             options *       # Additional option:
<compatibility>
>>                             # either 'vc6', 'vc7',
'vc7.1'
>>                             # or
'native'(default).
>>           )
> 
> Umm. I am not am expert in BB. What should I add to
either command line, 
> Jamfile or user-config to specify the target msvc ?

You don't need to be an expert  The init
rule is what gets called 
when you do "using intel-win ;" in your
user-config.jam. And the 
arguments map directly to the ones you pass into the
"using" (minus the 
toolset since it already has that). So you might add
<compatibility>vc6 
to the fourth argument.

>>>> Can we make bjam to automatically log all
it's output into something 
>>>> like
>>>> bjam.<toolset>.out?
> 
> Sounds line nice to have feature.

Why do you think it's a nice feature?

-- 
-- 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: migration and general questions
country flaguser name
United States
2007-10-22 23:46:36
"Rene Rivera" <grafikrobotgmail.com> wrote in message 
news:471D7949.5000703gmail.com...
>> Umm. I am not am expert in BB. What should I add to
either command line,
>> Jamfile or user-config to specify the target msvc
?
>
> You don't need to be an expert  The init
rule is what gets called
> when you do "using intel-win ;" in your
user-config.jam. And the
> arguments map directly to the ones you pass into the
"using" (minus the
> toolset since it already has that). So you might add
<compatibility>vc6
> to the fourth argument.

Ok. Thanks.

>>>>> Can we make bjam to automatically log
all it's output into something
>>>>> like
>>>>> bjam.<toolset>.out?
>>
>> Sounds line nice to have feature.
>
> Why do you think it's a nice feature?

Because I am running build comands that may spawn 100 pages
and for NT most 
command prompts wont store more than 1.  Also it's easier to
deal with file 
that search through terminal screen. Also I can save result
from different 
build run and compare.

Gennadiy



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

Re: migration and general questions
country flaguser name
Russian Federation
2007-10-23 02:37:04
On Tuesday 23 October 2007 08:46:36 Gennadiy Rozental
wrote:
> 
> "Rene Rivera" <grafikrobotgmail.com> wrote in message 
> news:471D7949.5000703gmail.com...
> >> Umm. I am not am expert in BB. What should I
add to either command line,
> >> Jamfile or user-config to specify the target
msvc ?
> >
> > You don't need to be an expert  The init
rule is what gets called
> > when you do "using intel-win ;" in your
user-config.jam. And the
> > arguments map directly to the ones you pass into
the "using" (minus the
> > toolset since it already has that). So you might
add <compatibility>vc6
> > to the fourth argument.
> 
> Ok. Thanks.
> 
> >>>>> Can we make bjam to automatically
log all it's output into something
> >>>>> like
> >>>>> bjam.<toolset>.out?
> >>
> >> Sounds line nice to have feature.
> >
> > Why do you think it's a nice feature?
> 
> Because I am running build comands that may spawn 100
pages and for NT most 
> command prompts wont store more than 1.  Also it's
easier to deal with file 
> that search through terminal screen. Also I can save
result from different 
> build run and compare.

I would say that 'tee' + redirect is the right solution for
this task. I don't
expect all programs that produces more that 1 page of output
to have 
'save all output to file' option.

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

[1-7]

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