List Info

Thread: Problems with como?




Problems with como?
user name
2006-04-19 00:30:28
Hello,

I have problems running como with boost-build. My
site-config.jam looks like 
this:

import toolset : using ;
using msvc : 8.0 ;
using msvc : 7.1 ;
using gcc ;
using como-win ;

I am able to use MSVC 7.1/8.0, as well as GCC under cygwin
with no problems, 
but trying to use como gives me this output from
boost-build:

C:/code/bin/boost-build/kernel\modules.jam:66: in
modules.call-in
rule como-winc.archive unknown in module como-winc.
C:/code/bin/boost-build/util\indirect.jam:82: in
indirect.call
C:/code/bin/boost-build/build\virtual-target.jam:700: in 
object(action)152.actualize
C:/code/bin/boost-build/build\virtual-target.jam:273: in
actualize-action
C:/code/bin/boost-build/build\virtual-target.jam:458: in 
actualize-no-scanner
C:/code/bin/boost-build/build\virtual-target.jam:110: in 
object(file-target)153.actualize
C:/code/bin/boost-build\build-system.jam:373: in load
C:\code\bin\boost-build\kernel\modules.jam:261: in
import
C:\code\bin\boost-build\kernel\bootstrap.jam:121: in
boost-build
C:\code\bin\boost-build.jam:6: in module scope

I am using the nightly build of boost-build, downloaded at
around 5PM 
Pacific time today, 4/18/2006. My bjam.exe has been built
perhaps a month 
ago.

So am I doing something wrong, or is this a bug in
boost-build?

Thanks,
Emil 
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Problems with como?
user name
2006-04-26 07:38:38
On Wednesday 19 April 2006 04:30, Emil Dotchevski wrote:

> I am able to use MSVC 7.1/8.0, as well as GCC under
cygwin with no
> problems, but trying to use como gives me this output
from boost-build:
>
> C:/code/bin/boost-build/kernel\modules.jam:66: in
modules.call-in
> rule como-winc.archive unknown in module como-winc.

Can you try the attached? There was a typo.

- Volodya

-- 
Vladimir Prus
http://vladimir_pru
s.blogspot.com
Boost.Build V2: http://boost.org/boost-
build2
# (C) Copyright David Abrahams 2001.
# (C) Copyright MetaCommunications, Inc. 2004.

# Distributed under the Boost Software License, Version 1.0.
(See
# accompanying file LICENSE_1_0.txt or copy at
# http://www.boost
.org/LICENSE_1_0.txt)

# The following #// line will be used by the regression test
table generation
# program as the column heading for HTML tables. Must not
include version number.
#//<a href="http://www.comeaucomp
uting.com/">Comeau<br>C++</a>

import common ;
import como ;
import feature ;
import generators ;
import toolset : flags ;

feature.extend-subfeature toolset como : platform : win ;

# Initializes the Comeau toolset for windows.
# The command is the command which invokes the compiler.
# You should either set environment variable
COMO_XXX_INCLUDE where
# XXX is the used backed (as described in documentation), or
pass
# that as part of command, e.g:
# 
#   using como-win : 4.3 : "set
COMO_BCC_INCLUDE=C:/include &&" como.exe ;
rule init ( version ? : command * : options * )
{
    local condition = [  common.check-init-parameters
como-win
        : version $(version) ] ;
    
    command = [ common.get-invocation-command como-win :
como.exe :
        $(command) ] ;    
    
    common.handle-options como-win : $(condition) :
$(command) : $(options) ;
}

generators.register-c-compiler como-win.compile.c++ : CPP :
OBJ 
  : <toolset>como <toolset-como:platform>win ;
generators.register-c-compiler como-win.compile.c : C : OBJ
  : <toolset>como <toolset-como:platform>win ;

generators.register-linker como-win.link 
  : OBJ SEARCHED_LIB STATIC_LIB IMPORT_LIB 
  : EXE
  : <toolset>como <toolset-como:platform>win ;  
# Note that status of shared libraries support is not clear,
so we don't
# define the link.dll generator.
generators.register-archiver como-win.archive 
  : OBJ : STATIC_LIB
  : <toolset>como <toolset-como:platform>win ;  

flags como-win C++FLAGS <exception-handling>off :
--no_exceptions ;
flags como-win C++FLAGS <exception-handling>on :
--exceptions ;

flags como-win CFLAGS <inlining>off : --no_inlining ;
flags como-win CFLAGS <inlining>on
<inlining>full : --inlining ;

# The following seems to be VC-specific options. At least,
# when I uncomment then, Comeau with bcc as backend reports
# that bcc32 invocation.
#
#flags como-win CFLAGS <debug-symbols>on : /Zi ;
#flags como-win CFLAGS <optimization>off : /Od ;

flags como-win CFLAGS <cflags> ;
flags como-win CFLAGS : -D_WIN32 ; # make sure that we get
the Boost Win32 platform config header.
flags como-win CFLAGS <threading>multi : -D_MT ; #
make sure that our config knows that threading is on.
flags como-win C++FLAGS <cxxflags> ;
flags como-win DEFINES <define> ;
flags como-win UNDEFS <undef> ;
flags como-win HDRS <include> ;
flags como-win SYSHDRS <sysinclude> ;
flags como-win LINKFLAGS <linkflags> ;
flags como-win ARFLAGS <arflags> ;
flags como-win NO_WARN <no-warn> ;

#flags como-win STDHDRS : $(COMO_INCLUDE_PATH) ;
#flags como-win STDLIB_PATH : $(COMO_STDLIB_PATH)$(SLASH) ;

flags como-win LIBPATH <library-path> ;
flags como-win LIBRARIES <library-file> ;
flags como-win FINDLIBS <find-shared-library> ;
flags como-win FINDLIBS <find-static-library> ;

RM = [ common.rm-command ] ;

#### Link ####

rule link ( targets + : sources * : properties * )
{
    common.response-file $(targets) : $(sources) :
$(targets[2]) 
      : $(properties) ;
}

# for como, we repeat all libraries so that dependencies are
always resolved
actions link bind LIBRARIES RSP
{
    $(CONFIG_COMMAND) --no_version --no_prelink_verbose
$(LINKFLAGS) -o "$(<[1]:S=)" "$(RSP:W)" "$(LIBRARIES)"
"$(FINDLIBS:S=.lib)" && $(RM)
"$(RSP)"
}

actions compile.c
{
    $(CONFIG_COMMAND) -c --c99 -e5 --no_version
--display_error_number --diag_suppress=9,21,161,748,940,962
-U$(UNDEFS) -D$(DEFINES) $(WARN) $(CFLAGS)
-I"$(HDRS)" -I"$(STDHDRS)"
-I"$(SYSHDRS)" -o "$(<=)"
; "$(>)"
}

actions compile.c++
{
    $(CONFIG_COMMAND) -c -e5 --no_version
--no_prelink_verbose --display_error_number --long_long
--diag_suppress=9,21,161,748,940,962 --diag_error=461
-D__STL_LONG_LONG -U$(UNDEFS) -D$(DEFINES) $(WARN) $(CFLAGS)
$(C++FLAGS) -I"$(HDRS)"
-I"$(STDHDRS)" -I"$(SYSHDRS)" -o
"$(<)" "$(>)"
}

#### Archive ####

rule archive ( targets + : sources * : properties * )    
{
    common.response-file $(targets) : $(sources) :
$(targets[2]) : $(properties) ;             
}

actions updated together piecemeal archive bind RSP
{
    $(CONFIG_COMMAND) --no_version --no_prelink_verbose
--prelink_object "$(RSP:W)"
    lib $(ARFLAGS) /nologo /out:"$(<:S=.lib)"
"$(RSP:W)" && $(RM)
"$(RSP)"
}

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Problems with como?
user name
2006-04-26 08:31:12
On Wednesday 26 April 2006 11:38, Vladimir Prus wrote:
> On Wednesday 19 April 2006 04:30, Emil Dotchevski
wrote:
> > I am able to use MSVC 7.1/8.0, as well as GCC
under cygwin with no
> > problems, but trying to use como gives me this
output from boost-build:
> >
> > C:/code/bin/boost-build/kernel\modules.jam:66: in
modules.call-in
> > rule como-winc.archive unknown in module
como-winc.
>
> Can you try the attached? There was a typo.

Or rather, the attached now. There were some other issues
reported by Dave.

- Volodya

-- 
Vladimir Prus
http://vladimir_pru
s.blogspot.com
Boost.Build V2: http://boost.org/boost-
build2
# (C) Copyright David Abrahams 2001.
# (C) Copyright MetaCommunications, Inc. 2004.

# Distributed under the Boost Software License, Version 1.0.
(See
# accompanying file LICENSE_1_0.txt or copy at
# http://www.boost
.org/LICENSE_1_0.txt)

# The following #// line will be used by the regression test
table generation
# program as the column heading for HTML tables. Must not
include version number.
#//<a href="http://www.comeaucomp
uting.com/">Comeau<br>C++</a>

import common ;
import como ;
import feature ;
import generators ;
import toolset : flags ;

feature.extend-subfeature toolset como : platform : win ;

# Initializes the Comeau toolset for windows.
# The command is the command which invokes the compiler.
# You should either set environment variable
COMO_XXX_INCLUDE where
# XXX is the used backed (as described in documentation), or
pass
# that as part of command, e.g:
# 
#   using como-win : 4.3 : "set
COMO_BCC_INCLUDE=C:/include &&" como.exe ;
rule init ( version ? : command * : options * )
{
    local condition = [  common.check-init-parameters
como-win
        : version $(version) ] ;
    
    command = [ common.get-invocation-command como-win :
como.exe :
        $(command) ] ;    
    
    common.handle-options como-win : $(condition) :
$(command) : $(options) ;
}

generators.register-c-compiler como-win.compile.c++ : CPP :
OBJ 
  : <toolset>como <toolset-como:platform>win ;
generators.register-c-compiler como-win.compile.c : C : OBJ
  : <toolset>como <toolset-como:platform>win ;

generators.register-linker como-win.link 
  : OBJ SEARCHED_LIB STATIC_LIB IMPORT_LIB 
  : EXE
  : <toolset>como <toolset-como:platform>win ;  
# Note that status of shared libraries support is not clear,
so we don't
# define the link.dll generator.
generators.register-archiver como-win.archive 
  : OBJ : STATIC_LIB
  : <toolset>como <toolset-como:platform>win ;  

flags como-win C++FLAGS <exception-handling>off :
--no_exceptions ;
flags como-win C++FLAGS <exception-handling>on :
--exceptions ;

flags como-win CFLAGS <inlining>off : --no_inlining ;
flags como-win CFLAGS <inlining>on
<inlining>full : --inlining ;

# The following seems to be VC-specific options. At least,
# when I uncomment then, Comeau with bcc as backend reports
# that bcc32 invocation.
#
#flags como-win CFLAGS <debug-symbols>on : /Zi ;
#flags como-win CFLAGS <optimization>off : /Od ;

flags como-win CFLAGS <cflags> ;
flags como-win CFLAGS : -D_WIN32 ; # make sure that we get
the Boost Win32 platform config header.
flags como-win CFLAGS <threading>multi : -D_MT ; #
make sure that our config knows that threading is on.
flags como-win C++FLAGS <cxxflags> ;
flags como-win DEFINES <define> ;
flags como-win UNDEFS <undef> ;
flags como-win HDRS <include> ;
flags como-win SYSHDRS <sysinclude> ;
flags como-win LINKFLAGS <linkflags> ;
flags como-win ARFLAGS <arflags> ;
flags como-win NO_WARN <no-warn> ;

#flags como-win STDHDRS : $(COMO_INCLUDE_PATH) ;
#flags como-win STDLIB_PATH : $(COMO_STDLIB_PATH)$(SLASH) ;

flags como-win LIBPATH <library-path> ;
flags como-win LIBRARIES <library-file> ;
flags como-win FINDLIBS <find-shared-library> ;
flags como-win FINDLIBS <find-static-library> ;

RM = [ common.rm-command ] ;
nl = "
" ;


# for como, we repeat all libraries so that dependencies are
always resolved
actions link bind LIBRARIES
{
    $(CONFIG_COMMAND) --no_version --no_prelink_verbose
$(LINKFLAGS) -o "$(<[1]:S=)" "($(<[1]:W).rsp:E=$(nl)"$(>)")"
; "$(LIBRARIES)"
"$(FINDLIBS:S=.lib)"
}

actions compile.c
{
    $(CONFIG_COMMAND) -c --c99 -e5 --no_version
--display_error_number --diag_suppress=9,21,161,748,940,962
-U$(UNDEFS) -D$(DEFINES) $(WARN) $(CFLAGS)
-I"$(HDRS)" -I"$(STDHDRS)"
-I"$(SYSHDRS)" -o "$(<=)"
; "$(>)"
}

actions compile.c++
{
    $(CONFIG_COMMAND) -c -e5 --no_version
--no_prelink_verbose --display_error_number --long_long
--diag_suppress=9,21,161,748,940,962 --diag_error=461
-D__STL_LONG_LONG -U$(UNDEFS) -D$(DEFINES) $(WARN) $(CFLAGS)
$(C++FLAGS) -I"$(HDRS)"
-I"$(STDHDRS)" -I"$(SYSHDRS)" -o
"$(<)" "$(>)"
}

#### Archive ####

rule archive ( targets + : sources * : properties * )    
{
    common.response-file $(targets) : $(sources) :
$(targets[2]) : $(properties) ;             
}

actions updated together piecemeal archive
{
    $(CONFIG_COMMAND) --no_version --no_prelink_verbose
--prelink_object "$(LIBRARIES)"
    lib $(ARFLAGS) /nologo /out:"$(<:S=.lib)"
"$(LIBRARIES)"
}

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

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