Mail Archives: djgpp/2000/01/25/12:59:56
On Mon, 24 Jan 2000, Frank Donahoe wrote:
> > It is by no means the last; stay tuned ;-).
>
> Great! Thanks! But last above meant I'd worked my way through
> "diff," "grep," "gawk," "text utilities," and "texinfo" to "make."
I know. But there are more up my sleeve ;-).
> > The only 2 peculiarities I can spot in the description of your system
> > is that (1) the DJGPP bin directory is after the Windows directories
> > in your PATH, and (2) I used the latest port of Perl (version 5.5.2,
> > available from SimTel.NET).
>
> WINDOWS RULES!
Only if you let it do that ;-).
> How to prevent it from going first in PATH?
You can define a batch file that runs when the DOS box starts, and
replace the PATH in that batch file.
> Issue the command "echo --version" from the command prompt under DOS
> or BASH. The result will be "--version" no matter which directory is
> first in PATH. The shell runs the built-in command.
You need to type "c:\djg\bin\echo.exe --version".
Note that Make always looks along the PATH first, so it *will* call
the first echo.* executable it finds there, *before* falling back on
the builtin command of the shell.
Another idea to try is to invoke the test suite from COMMAND.COM (I
understand that you did that from Bash).
> > If the above doesn't help to resolve this, I'm afraid you'll have to
> > debug these specific tests and tell what you find.
I can only reiterate this last advice. Insert debugging print
statements into the script and the Makefile it produces and take it
from there.
- Raw text -