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.)


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
Mingw-msys mailing list