Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" From: "David Abrahams" To: Subject: 1.3.2/Win2K: ar confused by drive letters Date: Wed, 20 Jun 2001 21:05:39 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit 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 #include 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