delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/21/19:13:38

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Simon Lam <cryxia AT gmail DOT com>
Subject: boost library suggestion (regarding boost::filesystem)
Date: Sun, 22 Jan 2006 13:13:42 +1300
Lines: 21
Message-ID: <dquimc$jjt$1@sea.gmane.org>
Mime-Version: 1.0
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I'd like to suggest that the boost library is built as the gcc-nocygwin 
toolset (which, if I have read the docs correctly, is just an extension 
of the gcc toolset) or make available as a seperate package. The reason 
behind this is that part of the library, boost::filesystem, do not work 
as intended. The library, under the current cygwin build, thinks that 
the native path format is *nix style (/usr/blahblah), but correctly it 
should be windows format (c:\blahblah).

I've tried modifying the build script to build gcc-nocygwin using the 
sources provided by setup.exe, but the build errors out when compiling 
part of boost::filesystem (murphy's law must be at work here, determined 
to NOT let me use the one part of boost that I want to use). However, if 
I remove the -mno-cygwin flag from the g++ command, it compiles fine. 
This means thats (as far as I can see) that it compiles fine on gnu g++, 
but not on mingw g++.

I'm about to go and attempt to update mingw install in cygwin manually 
to see if that will help. Here's hoping I'll defeat murphy's law at 
last. I've spent about a day trying to get this library to work :/

 >Simon Lam


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019