This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
1.3.2/Win2K: ar confused by drive letters
- To: <cygwin at cygwin dot com>
- Subject: 1.3.2/Win2K: ar confused by drive letters
- From: "David Abrahams" <david dot abrahams at rcn dot com>
- Date: Wed, 20 Jun 2001 21:05:39 -0400
- Reply-To: "David Abrahams" <david dot abrahams at rcn dot com>
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