BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: How to prevent make to replace escape characters ?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Command Line Tools)
View previous topic :: View next topic  
Author Message
OBones
Guest





PostPosted: Fri Apr 02, 2004 10:23 am    Post subject: Re: How to prevent make to replace escape characters ? Reply with quote



Ok, I've found the problem. I installed the UnxUtils files
(http://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
Back to top
Hans-Bernhard Broeker
Guest





PostPosted: Fri Apr 02, 2004 2:17 pm    Post subject: Re: How to prevent make to replace escape characters ? Reply with quote



OBones <obones_ssspp (AT) gfgdf_meloo (DOT) 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 (broeker (AT) physik (DOT) rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Command Line Tools) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.