Boost cygwin

, , . : , .
, , T:\ , , .
: Boost-cyg-Test


main.cpp
. , , .
, , .
. , :
#include <iostream>
#include <boost/filesystem.hpp>
using namespace std;
using namespace boost::filesystem;
int main()
{
path p("second.cpp");
if (exists(p)) { std::cout<<p.leaf()<<std::endl; }
}
, "boost" .
goto Tools โ
++ .

, Netbeans .


, OK, , . ( ++).
"boost".

Boost *.a
Boost shared option, :

. 2 .
libboost_filesystem-gcc45-mt-d-1_53.dll.a
libboost_system-gcc45-mt-d-1_53.dll.a
, .
, .a
T:\cygwin\lib\boost.
.dll .
.dll ?:\cygwin\bin.
, .

.
, Boost cygwin


, .a.
Add Library T:\cygwin\lib\boost
libboost_filesystem-gcc45-mt-d-1_53.dll.a
libboost_system-gcc45-mt-d-1_53.dll.a
, netbeans :
boost_filesystem-gcc45-mt-d-1_53.dll
boost_system-gcc45-mt-d-1_53.dll
<411 >
. , .dll. .a.
main.cpp. .

, , .
, make , .
:

Cygwin
, boost .
boost_1_53_0.zip
?:\cygwin.
boost_1_53_0

zip .
:

cmd, cd boost_1_53_0.
, PATH, cygwin home bin.
cmd-.
SET PATH=T:\cygwin;T:\cygwin\bin
.
PATH

bootstrap.bat

.\b2 --build-dir=T:\boost-cyg toolset=gcc variant=debug link=shared runtime-link=shared
.
, .
: gcc not found
( ) ?:\cygwin\bin, : ( ).
i686-pc-cygwin-gcc-4.5.3.exe gcc.exe
i686-pc-cygwin-g++-4.exe g++.exe
, .