Toon Knapen <[EMAIL PROTECTED]> writes:

> On Tuesday 17 December 2002 16:10, Beman Dawes wrote:
>> (You can ignore this message unless you run Boost regression testing
>> software.)
>>
>> AFAIK, the changes are all working right now, and I'll switch the Win32
>> tests over today.  But I'll delay merging the sane-testing branch in CVS
>> until Friday to give users a bit of advance notice of the change.
>>
>> To change to the new setup, do this:
>>
>> * Rebuild bjam.
>> * Delete all bin directories (residue files are different).
>> * Change scripts to add the bjam --dump-tests option.
>> * Rebuld status reporting programs (use .../tools/regression/build/Jamfile)
>>
>
> Thanks Beman and David. I tried it on IBM/Aix and everything works just great.
> I recently adapted the Jamfile in the sandbox/filesystem/example directory to 
> use the filesystem lib from the boost-cvs but this seems unnecessary now.
>
> I'm also in the process of creating status-pages for HPUX 11. I hope to 
> checkin an acc-tools.jam tomorrow and upload already preliminary
> results too.

Toon,

I did a little HPUX testing for a client a while back.  The
acc-tools.jam I was using is enclosed:

# (C) Copyright Toon Knapen 2001, Markus Schoepflin 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 :
# HP-UX aCC compiler
#

set-as-singleton acc.root-directory ;
acc.bin-directory = $(acc.root-directory)$(SLASH)bin$(SLASH) ;
acc.bin-directory ?= " " ;


flags acc CC : cc   ;
flags acc CXX  : aCC   ;

flags acc CFLAGS <optimization>off : ;
flags acc CFLAGS <optimization>default : -O ;
flags acc CFLAGS <optimization>speed : -O3 ;
flags acc CFLAGS <optimization>space : -O2 ;

flags acc CFLAGS <inlining>off : ;
flags acc CFLAGS <inlining>on : ;
flags acc CFLAGS <inlining>full : ;
flags acc CFLAGS <threading>multi : -mt ;

flags acc C++FLAGS <exception-handling>off : ;
flags acc C++FLAGS <exception-handling>on : ;

flags acc C++FLAGS <rtti>off : ;
flags acc C++FLAGS <rtti>on : ;

flags acc LINKFLAGS <runtime-link>static : -llibstd_v2.a ;
flags acc LINKFLAGS <runtime-link>shared : -llibstd_v2.sl ;

# We want the full path to the sources in the debug symbols because otherwise
# the debugger won't find the sources when we use boost.build.
flags acc CFLAGS <debug-symbols>on : -g ;
flags acc LINKFLAGS <debug-symbols>on : -g ;
flags acc LINKFLAGS <debug-symbols>off : -s ;
flags acc LINKFLAGS <threading>multi : -mt ;

flags acc CFLAGS <shared-linkable>true : +Z ;

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

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

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

# BOOST_COMPATIBILITY ?= 
$(BOOST_ROOT)$(SLASH)boost$(SLASH)compatibility$(SLASH)cpp_c_headers ;
# flags tru64cxx STDHDRS : $(BOOST_COMPATIBILITY) ;

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

#### Link ####

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

actions aCC-Link-action bind NEEDLIBS
{
    $(acc.bin-directory)$(CXX) $(LINKFLAGS) -AA -o "$(<[1])" -L$(LIBPATH) 
-L$(STDLIBPATH) "$(>)" "$(NEEDLIBS)" "$(NEEDLIBS)" -l$(FINDLIBS)
}

#### Cc #####

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

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

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

actions aCC-C++-action
{
    $(acc.bin-directory)$(CXX) -AA -c +W823  -I$(BOOST_ROOT) -U$(UNDEFS) -D$(DEFINES) 
$(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)"
}

#### Archive ####

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

actions updated together piecemeal acc-Archive-action
{
    ar ru$(ARFLAGS) "$(<)" "$(>)"
}

-- 
                       David Abrahams
   [EMAIL PROTECTED] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to