This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

1.3.2/Win2K: ar confused by drive letters


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]