Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-07-20 21:49:47

[2002-07-20] Gennadiy Rozental wrote:
>2. In general current situation with stlport based toolsets seems
>unaceptable. Why do we need to repeat this work for every toolset: msvc,
>gcc, sunpro .... There exist some differencies but they are minimal. I am
>attaching of sunpro-stlport toolset definition that has stlport
>configurations factored out. I am gonna prepare docs for it and present for
>inclusion into tools/build. But I think that it worth considering that all
>stlport based tools use the same confoguration

Yes there is plenty of duplication when it comes to handling STLport support
in the current Boost.Build-V1. This situation is actually a holdover from
before I got involved in the build system. There are better ways to do this
support now, but we always thought that V2 would be in use before this
really became an issue, at which point the hopefully optimum solution would
be used. Even I don't use the support for STLport currently in the build
system even though I do use STLport with GCC. Instead I use the more modern
way to add orthogonal configuration like this:

= $(SDKROOT)/STLport ;
## STLport...
if $(NT) {
STLPORT_LIB_ID = cygwin ; }
else {
STLPORT_LIB_ID = gcc ; }

variant stlport
variant stlport-dynamic
variant stlport-release : stlport
variant stlport-debug : stlport
<gcc><linkflags>"-Wl,-rpath -Wl,$(STLPORT_LIB_DIRECTORY)"
variant stlport-profile : stlport
<gcc><linkflags>"-Wl,-rpath -Wl,$(STLPORT_LIB_DIRECTORY)"

[and these are the variants I actually use for building...]
variant thot-debug
thot-common debug
<gcc><linkflags>"-Wl,-rpath -Wl,."
<gcc><linkflags>"-Wl,-rpath -Wl,$(GCC_STDLIB_DIRECTORY)"
variant thot-release
thot-common release
variant thot-profile
thot-common profile

Question is... is it time to add such variants to the V1 standard set?

>begin 666 sunpro-stlport-tools.jam

>begin 666 stlport.jam

I really wish these where in MIME compliant form. That way those of us
reading this with email could extract the attachements :-( Any chance of you
reposting the attachements this way?

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq - Grafik666_at_AIM - Grafik_at_[hidden]


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at