www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/13/16:32:28

From: alainm AT news DOT RISQ DOT QC DOT CA (Alain Magloire)
Subject: Re: a make format problem
Newsgroups: comp.os.msdos.djgpp
References: <942276780 DOT 8121 DOT 0 DOT nnrp-02 DOT c2de6b60 AT news DOT demon DOT co DOT uk> <382b267c AT 140 DOT 92 DOT 61 DOT 20>
X-Newsreader: TIN [version 1.2 PL2]
Lines: 26
Message-ID: <IOjX3.812$0c2.12491@carnaval.risq.qc.ca>
Date: Sat, 13 Nov 1999 20:25:12 GMT
NNTP-Posting-Host: 132.206.63.174
X-Complaints-To: abuse AT mcgill DOT ca
X-Trace: carnaval.risq.qc.ca 942524712 132.206.63.174 (Sat, 13 Nov 1999 15:25:12 EST)
NNTP-Posting-Date: Sat, 13 Nov 1999 15:25:12 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

³¯¬f¦~ (bnchen AT netrd DOT iii DOT org DOT tw) wrote:
:   I use Djgpp make utility and SSI linker to develop my project under DOS
: environment.

:   I got a problem to pass a link path to linker by writting the path into a
: tmp file as the following line:

:     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.

I don't think make is doing any interpretation. However the shell will
see two dinstinct comands :
echo -Lpath1
path2 > tmp.lnk

:   How can I do to pass the directory?

Use the backslash to suppress the shell interpretation of ';'

--
au revoir, alain
----
Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!

- Raw text -


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