Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-04-16 22:59:28


sijuju2001 wrote:
>>I don't normally use the cygwin toolset so I can't be sure of my
>
> answer...
>
>>I'll look at the code to check. But the above is supposed to be what
>
> all win32
>
>>toolsets follow.
>
>
> Just wondering if you'd had any luck with this.

Finally had some time to look at this... And could not find any problems. When
I try an equivalent build of a DLL is does have the extra options to
generate the import lib. Specifically I ran this:

bjam -sTOOLS=gcc -sUNIX=unix -sJAMUNAME=cygwin -n

And got this, as a link command for the DLL:

"g++" "-Wl,--enable-auto-image-base" "-Wl,--export-all-symbols"
"-Wl,--exclude-symbols,_bss_end__:_bss_start__:_data_end__:_da
ta_start__"
"-Wl,--out-implib,..\..\..\..\bin\tools\tools\build\examples\lib_use\simplex.dll\gcc\debug\threading-multi\simplex.lib"
-g -shared -o
"..\..\..\..\bin\tools\tools\build\examples\lib_use\simplex.dll\gcc\debug\threading-multi\simplex.dll"
"..\..\..
\..\bin\tools\tools\build\examples\lib_use\simplex.dll\gcc\debug\threading-multi\simple_lib.obj"

The "UNIX" and "JAMUNAME" settings are what the bjam built for cygwin sets
internally.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
 

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