|
List Info
Thread: How to build Boost-Jam 3.1.14 using VS 2005?
|
|
| How to build Boost-Jam 3.1.14 using VS
2005? |
  United States |
2007-05-07 20:40:37 |
|
This is my first post on a mailing list so please bear with me. I'm trying to build Boost-Jam 3.1.14 from source using Visual Studio 2005. The build description is clear; issue the "build vc8" command from the top level directory. The Jam object files are created, but I get the following error condition:
C:boost-jam-3.1.14>.bootstrapjam0 -f build.jam --toolset=vc8 "--toolset-root= "
..found 45 targets...
...updating 2 targets...
[MKDIR] bin.ntx86
spawn: Invalid argument.
Obviously, I must have something misconfigures. Any ideas what I should try next??
|
| Boost Python with BBv2 on AIX |
  United States |
2007-05-09 16:48:37 |
|
In boost 1.33.1, in the file tools/build/v1/python.jam,
there was a section specific to AIX that provided a link option specifying
an import list.
else if $(OS) = AIX
{
PYTHON_PROPERTIES
+=
<*><*><linkflags>"-Wl,-bI:$(PYTHON_LIB_PATH)/python.exp"
<*><*><find-library>pthreads ;
}
There is no equivalent in the python.jam
from Boost Build V2.
I have been experimenting with different
combinations to produce a similar behavior from BBv2. This
is what I came up with, and appears to work.
# On AIX
we need Boost.Python and Python extensions to import symbols from the python
interpreter
# since
libraries opened with dlopen() do not inherit symbols from the Python interpreter
itself
if $(target-os)
= aix
{
alias
python_for_extensions
:
: $(target-requirements)
:
: $(usage-requirements) <linkflags>-bI:$(libraries[1])/python.exp
;
}
I initially tried "$(usage-requirements)
<linkflags>-Wl,-bI:$(libraries)/python.exp" but that gave
me
" -bI:/usr/lib/python.exp -bI:/usr/lib/python2.4/config/python.exp
"
However, $(usage-requirements) <linkflags>-bI:$(libraries[1])/python.exp
gave me what I wanted which is -bI:/usr/lib/python2.4/config/python.exp.
Unfortunately, I am all that comfortable
with the new build system and hoping for some suggestions
Chris Cambly
XL C++ Compiler Development
|
| Re: How to build Boost-Jam 3.1.14 using
VS 2005? |
  United States |
2007-05-09 08:59:00 |
danddimaging aol.com wrote:
> This is my first post on a mailing list so please
bear with me. I'm trying to build Boost-Jam 3.1.14 from
source using Visual Studio 2005. The build description is
clear; issue the "build vc8" command from the top
level directory. The Jam object files are created, but I get
the following error condition:
> C:boost-jam-3.1.14>.bootstrapjam0 -f build.jam
--toolset=vc8 "--toolset-root= "
> ..found 45 targets...
> ...updating 2 targets...
> [MKDIR] bin.ntx86
> spawn: Invalid argument.
> Obviously, I must have something misconfigures. Any
ideas what I should try next??
Try shortening your %PATH%.
--
-- 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
a>
|
|
[1-3]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|