Boost logo

Boost-Build :

From: Craig Rodrigues (rodrigc_at_[hidden])
Date: 2005-05-08 16:04:46


On Sun, May 08, 2005 at 03:20:49PM -0400, Craig Rodrigues wrote:
> Cool, I used that and it works. However, I am having a problem
> with the CVS version of BBv2 when building shared libraries:
>
> /home/rodrigc/boost/tools/build/v2/build/type.jam:120: in type.register-suffixes from module type
> error: Attempting to specify type for suffix "dylib"
> error: Old type SHARED_LIB, New type SHARED_LIB
> /home/rodrigc/boost/tools/build/v2/tools/darwin.jam:35: in load from module darwin
> /home/rodrigc/boost/tools/build/v2/kernel/modules.jam:259: in import from module modules
> /home/rodrigc/boost/tools/build/v2/build/toolset.jam:25: in using from module toolset
> /home/rodrigc/boost/tools/build/v2/user-config.jam:22: in modules.load from module user-config
> /home/rodrigc/boost/tools/build/v2/build-system.jam:83: in load from module build-system
> /home/rodrigc/boost/tools/build/v2/kernel/modules.jam:259: in import from module modules
> /home/rodrigc/boost/tools/build/v2/kernel/bootstrap.jam:120: in boost-build from module
> /home/rodrigc/boost/boost-build.jam:12: in module scope from module

I think that since Volodya added to tools/types/lib.jam
type SHARED_LIB : dylib : LIB : MACOSX ;

We need this patch to darwin.jam. It made things better for me.

Index: darwin.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/darwin.jam,v
retrieving revision 1.10
diff -u -r1.10 darwin.jam
--- darwin.jam 27 Dec 2004 09:07:04 -0000 1.10
+++ darwin.jam 8 May 2005 21:02:19 -0000
@@ -29,11 +29,6 @@
gcc.init-link-flags darwin darwin $(condition) ;
}

-# Darwin has a different shared library suffix
-type.set-generated-target-suffix SHARED_LIB : <toolset>darwin : dylib ;
-# we need to be able to tell the type of .dylib files
-type.register-suffixes dylib : SHARED_LIB ;
-
feature framework : : free ;

-- 
Craig Rodrigues 
rodrigc_at_[hidden]
 

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