Web lists-archives.com

[Mingw-msys] [mingw - MSYS] RE: bash empty for-loop




Caleb Cushing wrote:

> source='../../src/rm.c' object='rm.o' libtool=no \
>         DEPDIR=.deps depmode=gcc /bin/sh ../../build-aux/depcomp \
>         gcc -DHAVE_CONFIG_H -I. -I../../src -I..  -I.. -I../../src
> -I../../lib -I../lib   -O2 -s -fnative-struct -fgnu-linker
> -finline-functions  -mcpu=pentium -c ../../src/rm.c
> rm: cannot remove `rm.exe': Permission denied

The depcomp script is calling rm and it's finding the one in the current
directory instead of /bin/rm.  Take . out of your PATH.  (That MSYS
ships with . in PATH by default is a real mistake, IMHO.)

Brian

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys