Boost logo

Boost-Build :

Subject: [Boost-build] Is there any difference , or is this redundant ?
From: Kuhl, Brian (brian.kuhl_at_[hidden])
Date: 2018-01-09 21:38:52


Hi I'm looking to update my pull request to ASIO and I'm looking at various NT logic that's are causing problems for cross-compiles.

In various ...
libs/asio/example/... /Jamfile.v2

else if [ os.name ] = NT
{
  lib ws2_32 ;
  lib mswsock ;
}
...

exe transmit_file
  : transmit_file.cpp
    /boost/system//boost_system
  : <define>BOOST_ALL_NO_LIB=1
    ...
    <os>NT:<define>_WIN32_WINNT=0x0501
    <os>NT,<toolset>gcc:<library>ws2_32
    <os>NT,<toolset>gcc:<library>mswsock
    <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS

Could we not just ?

    <target-os>windows:<library>ws2_32
    <target-os>windows:<library>mswsock

Many thanks,

Brian Kuhl
Wind River



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