Subject: Re: [boost] cygwin API: posix or windows
From: Frédéric Bron (frederic.bron_at_[hidden])
Date: 2011-01-09 15:40:05
> My expectation of using boost on cygwin was that I would be able to exercise
> code as if I were on a unix platform. I was surprised by system/filesystem
> use of windows api on this platform.
It was usefull, at least on cygwin 1.5:
On cygwin 1.5, with boost 1.43.0
I use -DBOOST_POSIX_API -DBOOST_POSIX_PATH when I want cygwin binary
I use -DBOOST_WINDOWS_API when I want windows binary (g++-3 -mno-cygwin)
On cygwin 1.7, there is now a real cross-compiler
i686-w64-mingw32-g++. What would be the "official" way to
cross-compile to windows?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk