This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin strangeness installing glibc: "mv: foo and foo.new arethe same file"


Daniel Kegel wrote:
Installing glibc-2.1.3 under cygwin was giving me trouble. ...
mv -f .../bin/makedb.new  .../bin/makedb
mv: `.../bin/makedb.new' and `.../bin/makedb' are the same file
...
Investigating a bit, I found that this is a general problem
with cygwin when referring to programs without the implicit
.exe suffix.  For instance,
 $ cp /usr/bin/ls.exe foo.new.exe
 $ cp foo.new foo
will yield the same error message, whereas
 $ cp foo.new.exe foo.exe
will work just fine.

I think the real fix is something like


http://gcc.gnu.org/ml/gcc-patches/2000-06/msg01071.html

though I haven't tried it yet.

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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