Boost logo

Boost-Build :

From: Christoper Currie (gclbb-jamboost_at_[hidden])
Date: 2002-10-02 15:38:41


David Abrahams wrote:
> None of the problems you're reporting are build system issues. As such, you
> should ask about them on the Boost list.
>
> If your toolset is basically working, it would be really helpful if you'd
> post your toolset file (and and .html page about how to configure it) as an
> attachment here so that we can put it in the release.

My appologies for posting inappropriately. I've attached my development
copies of forte-tools.jam and forte-tools.html. I've tested them with
Boost 1.28.0 and been able to compile release versions of libboost_regex
and libboost_threads. (I can't compile debug versions, but I believe
that to be due to compiler issues that I can take to boost.devel).

Christopher Currie
 --------------060909030307010103060102 Content-Type: text/plain;
name="forte-tools.jam"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="forte-tools.jam"

# (C) Copyright 2002
# Permission to copy, use,
# modify, sell and distribute this software is granted provided this
# copyright notice appears in all copies. This software is provided
# "as is" without express or implied warranty, and with no claim as
# to its suitability for any purpose.

#
# Jam tools information for :
# Sun Forte C++ Compiler
# version 6 update 2
#
# These settings are created and tested with Forte CC running on
# Solaris 8. They should also work on other versions of Solaris.

flags forte CC : cc ;

flags forte CXX : CC ;

flags forte CFLAGS <optimization>default : -O ;
flags forte CFLAGS <optimization>speed : -fast -xtarget=generic ;
flags forte CFLAGS <optimization>space : -O2 -xspace ;

flags forte CFLAGS <inlining>off : +d ;

flags forte C++FLAGS <exception-handling>off : -features=no%except ;

flags forte LINKFLAGS <runtime-link>static : -Bstatic ;
flags forte CFLAGS <debug-symbols>on : -g ;
flags forte LINKFLAGS <debug-symbols>on : -g -xildoff ;
flags forte LINKFLAGS <debug-symbols>off : -s ;

flags forte CFLAGS <profiling>on : -pg ;
flags forte LINKFLAGS <profiling>on : -pg ;

flags forte CFLAGS <threading>multi : -mt ;
flags forte LINKFLAGS <threading>multi : -mt ;

flags forte CFLAGS <shared-linkable>true : -KPIC ;
flags forte LINKFLAGS <shared-linkable>true : -G ;

flags forte CFLAGS <cflags> ;
flags forte C++FLAGS <cxxflags> ;
flags forte DEFINES <define> ;
flags forte UNDEFS <undef> ;
flags forte HDRS <include> ;
flags forte STDHDRS <sysinclude> ;
flags forte LINKFLAGS <linkflags> ;
flags forte ARFLAGS <arflags> ;

flags forte LIBPATH <library-path> ;
flags forte NEEDLIBS <library-file> ;
flags forte FINDLIBS <find-library> ;

if ! $(ARFLAGS)
{
flags forte ARFLAGS : "" ;
}

#### Link ####

rule Link-action
{
forte-Link-action $(<) : $(>) ;
}

actions forte-Link-action bind NEEDLIBS
{
$(CXX) $(LINKFLAGS) -o "$(<[1])" -L$(LIBPATH) -L$(STDLIBPATH) "$(>)" "$(NEEDLIBS)" -l$(FINDLIBS)
}

#### Cc #####

rule Cc-action
{
forte-Cc-action $(<) : $(>) ;
}

actions forte-Cc-action
{
$(CC) -c -I$(BOOST_ROOT) -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)"
}

#### C++ ####
rule C++-action
{
forte-C++-action $(<) : $(>) ;
}

actions forte-C++-action
{
$(CXX) -c -I$(BOOST_ROOT) -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)"
}

#### Archive ####

rule Archive-action
{
forte-Archive-action $(<) : $(>) ;
}

actions updated together piecemeal forte-Archive-action
{
$(CXX) -xar -o "$(<)" "$(>)"
}
 --------------060909030307010103060102 Content-Type: text/html; charset=ISO-8859-1;
name="forte-tools.html"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="forte-tools.html"

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="boost.css">
<title>Boost.Build - forte toolset</title>
</head>
<body link="#0000ff" vlink="#800080">
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
"header">
<tr>
<td valign="top" width="300">
<h3>C++ Boost</h3>
</td>
<td valign="top">
<h1 align="center">Boost.Build</h1>
<h2 align="center">forte toolset</h2>
</td>
</tr>
</table>
<hr>

<h2>Introduction</h2>

<p>Boost.Build's
<a href="http://wwws.sun.com/software/sundev/archive/developer/index.html">forte</a>
toolset supports the Sun Forte C++.

<h2>Configuration Variables</h2>

There currently are no user configurable variables used for this toolset.
This requires that the tools be available in the executable path. Make sure
that the Forte directory (usually /opt/SUNWspro/bin) is before /usr/ccs/bin
in your path.

<hr>
<p>Revised
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
2 October, 2002
<!--webbot bot="Timestamp" endspan i-checksum="39359" -->
</p>
<p><i>&copy; Copyright Dave Abrahams
2002. All Rights Reserved.</i></p>
</body>
</html>
 --------------060909030307010103060102--


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk