delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/19/18:55:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
Subject: Re: Strange Cygwin issue
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0305191739530 DOT 26639-100000 AT slinky DOT cs DOT nyu DOT edu>
From: David Abrahams <dave AT boost-consulting DOT com>
Date: Mon, 19 May 2003 18:54:25 -0400
In-Reply-To: <Pine.GSO.4.44.0305191739530.26639-100000@slinky.cs.nyu.edu> (Igor
Pechtchanski's message of "Mon, 19 May 2003 17:45:16 -0400 (EDT)")
Message-ID: <ud6ieh7j2.fsf@boost-consulting.com>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (windows-nt)
MIME-Version: 1.0

Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> writes:

> Dave,
>
> Actually, upon re-reading the above, it looks like it's a bash quoting
> issue.  You might try the fix that worked for "cygstart": single quote the
> double quotes, e.g.
>
> tlib '"c:\foo-bar\baz"'

I exhausted all obvious possibilites, including that one, before
posting here.

> or, if you want to be more generic,
>
> FILENAME=/cygdrive/c/foo-bar/baz
> tlib '"'"`cygpath -w "$FILENAME"`"'"'
>
> Make sure you copy the above *exactly* (better yet, cut/paste).
> Hope this helps,

No dice:

    dave AT penguin /cygdrive/c/boost/tools/build/test
    $ foo=/cygdrive/c/foo-bar/baz

    dave AT penguin /cygdrive/c/boost/tools/build/test
    $ /cygdrive/c/tools/Borland/BCC55/Bin/tlib.exe  '"'"`cygpath -w "$foo"`"'"'
    TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation

    Error: opening '\c:\foo.LIB'

The response should look like:

    C:\boost\tools\build\jam_src>c:\tools\Borland\BCC55\Bin\tlib.exe "c:\foo-bar\baz"
    TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation

    Error: opening 'c:\foo-bar\baz.LIB'

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com


--
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