Mail Archives: djgpp/1999/11/11/02:28:29
On Thu, 11 Nov 1999, ³¯¬f¦~ wrote:
>   I got a problem to pass a link path to linker by writting the path into a
> tmp file as the following line:
Why do you need to use a temporary file?  DJGPP programs have no problems 
in passing very long command lines to one another, so you shouldn't need 
this extra step.
>     echo -Lpath1;path2 > tmp.lnk
> 
>   make utility treat the semicolon as the seperate of two command,
> so I got a "bad command or file name" error message because path2 is not a
> valid command.
The usual way to hide the special meaning of special characters is to 
quote them, like this:
	echo -Lpath1";"path2 > tmp.lnk
Doesn't this work for you?
- Raw text -