Board index » cppbuilder » Re: How to prevent make to replace escape characters ?

Re: How to prevent make to replace escape characters ?


2004-04-02 06:23:17 PM
cppbuilder101
Ok, I've found the problem. I installed the UnxUtils files
(unxutils.sf.net/) and put their directory into the PATH
environement variable.
Unfortunately they have an exe file called echo.exe that does the above
mentionned replacements!!! And make calls the files in PATH before any
built-in command.
Anyway, I renamed the offending file and everything is back to normal.
Thanks anyone for your help
Olivier
 
 

Re:Re: How to prevent make to replace escape characters ?

OBones < XXXX@XXXXX.COM >wrote:
Quote
Unfortunately they have an exe file called echo.exe that does the above
mentionned replacements!!! And make calls the files in PATH before any
built-in command.
Not quite. "Echo" is not a built-in command of make, as far as I'm
aware. It's rather a built-in command of the command line shell
(COMMAND.COM or CMD.EXE, respectively). The problem would then have
been triggered by make first trying to find an executable that does a
given thing, and only if that doesn't seem to work, passing the whole
command line over to the normal command line processor.
This may sound like a silly idea, but unfortunately it's pretty much a
necessity because stupid old command.com never learned to pass back a
usable return status (errorlevel) when used as a sub-shell.
Complaints to be directed to Redmond.
--
Hans-Bernhard Broeker ( XXXX@XXXXX.COM )
Even if all the snow were burnt, ashes would remain.