Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2006-09-06 23:50:42


Support Requests item #1553825, was opened at 2006-09-06 23:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=207586&aid=1553825&group_id=7586

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Building Boost
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jonathan (jonamike)
Assigned to: Nobody/Anonymous (nobody)
Summary: "-shared" not supported for linking under MacOS X

Initial Comment:
When I try to do a plain-vanilla build of Boost using
bjam (following the directions at
http://www.boost.org/more/getting_started.html pretty
carefully) I get the following results for one of the
targets (I note that "man gcc" says that "-shared is
not supported under Mac OS X" -- do I need to configure
Boost specially for Mac OS X?):

gcc-Link-action
bin/boost/libs/date_time/build/libboost_date_time.dylib/gcc/debug/shared-linkable-true/libboost_date_time-gcc-d-1_33_1.dylib
powerpc-apple-darwin8-g++-4.0.1: unrecognized option
'-shared'
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status

    set -e
   
DYLD_LIBRARY_PATH=bin/boost/libs/date_time/build/libboost_date_time.dylib/gcc/debug/shared-linkable-true:$DYLD_LIBRARY_PATH
    export DYLD_LIBRARY_PATH
    "c++" -g -fPIC -shared -o
"bin/boost/libs/date_time/build/libboost_date_time.dylib/gcc/debug/shared-linkable-true/libboost_date_time-gcc-d-1_33_1.dylib"
 
"bin/boost/libs/date_time/build/libboost_date_time.dylib/gcc/debug/shared-linkable-true/greg_month.o"
"bin/boost/libs/date_time/build/libboost_date_time.dylib/gcc/debug/shared-linkable-true/greg_weekday.o"
"bin/boost/libs/date_time/build/libboost_date_time.dylib/gcc/debug/shared-linkable-true/date_generators.o"
     
    

...failed gcc-Link-action
bin/boost/libs/date_time/build/libboost_date_time.dylib/gcc/debug/shared-linkable-true/libboost_date_time-gcc-d-1_33_1.dylib...

TIA,
Jonathan

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=207586&aid=1553825&group_id=7586

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk