Mail Archives: djgpp/2000/05/27/13:05:34
On 27 May 2000, at 17:34, Eli Zaretskii wrote:
> Here's your problem: your DOS/Windows directory appears on your PATH
> before the DJGPP's bin subdirectory, so Bash is picking the stock
> FIND.EXE instead of the Gnu Find utility. Microsoft's FIND.EXE is an
> incompatible program, so it complains about what seems to it as wrong
> arguments.
>
> A solution is either rearrange your PATH or rename the stock FIND.EXE
> to something else (or even remove it, since it's worthless if you have
> GNU Grep installed).
>
> After you correct this, I suggest to remove the entire GDB source tree
> and unpack it again, then configure and build it anew.
>
> Thanks for reporting this, I will see how to make the installation
> process more robust.
It's perhaps rather common problem. So why not to add to djconfig.sh
something similar to following:
case x`find --version 2>&1 | sed -e 's/[ ]/_/g'` in
xFIND:_Para*) echo M$ FIND detected. Please get rid of it; exit 1;;
xGNU_find*) ;;
*) echo no GNU FIND found. Please install; exit 1;;
esac
Andris
- Raw text -