www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/11/02:28:29

Date: Thu, 11 Nov 1999 08:07:13 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: ³¯¬f¦~ <bnchen AT netrd DOT iii DOT org DOT tw>
cc: djgpp AT delorie DOT com
Subject: Re: a make format problem
In-Reply-To: <382b267c@140.92.61.20>
Message-ID: <Pine.SUN.3.91.991111080501.16947T-100000@is>
MIME-Version: 1.0
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id BAA08825
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019