delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/21/03:16:17

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <084b01c0f9ee$49e71eb0$1000a8c0@abeast1.com>
Reply-To: "David Abrahams" <david DOT abrahams AT rcn DOT com>
From: "David Abrahams" <david DOT abrahams AT rcn DOT com>
To: <cygwin AT cygwin DOT com>
Subject: 1.3.2/Win2K: ar confused by drive letters
Date: Wed, 20 Jun 2001 21:05:39 -0400
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

Here is a simple test case that reproduces the problem:

=======
c:/temp$ cat foo.cpp
#include <vector>
#include <iostream>
int main()
{
  std::cout << "hello, world" << std::endl ;
}

c:/temp$ g++ -c foo.cpp

c:/temp$ ar ru "c:\temp\foo.lib" foo.o

c:/temp$ ar ru "e:\temp\foo.lib" foo.o
ar: e:\temp\foo.lib: rename: Cross-device link
======

Note that when the target archive is to be built on the same drive as the
current directory, there is no problem. I realize there are alternatives to
the "e:\..." syntax which don't cause this problem, but the build system I'm
using (Jam/MR) doesn't really allow me to form paths like //e/...

Thanks for listening,
Dave


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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