🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2148

Re: EMX-gcc and quoted strings

#2148
From: hank
Date: Sun, 27 Sep 1992 14:20
21 lines
1273 bytes
> hank@ducvax.auburn.edu writes:
>>Is there no way to pass a quoted string on the EMX-gcc command line?
>>[text deleted]
>>I want
>>  gcc -DPATHS=\"c:\\HelloWorld\" -c hello.c
>>to work with hello.c:
>> main() { puts(PATHS); }

Kai Uwe Rommel (rommel@informatik.tu-muenchen.de) replies:
> Your example works as expected with emx 0.8e - are you still using 0.8d?
>[additional info on strings with spaces]

KUR is correct (of course)--strings work fine in 0.8e. 

This question was prompted by the ps2pk announcement. I have submitted
the makefiles and patches for EMX/gcc and dmake 3.8 to the author of ps2pk,
rcpt@urc.tue.nl Piet Tutelaers.

Thanks to KUR.

--darrel hankerson hank@ducvax.auburn.edu
Technical Details
Message-ID: <1992Sep27.092023.1@ducvax.auburn.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!spool.mu.edu!darwin.sura.net!news.duc.auburn.edu!ducvax.auburn.edu!hank
References: <1992Sep25.085009.1@ducvax.auburn.edu> <1992Sep25.220738.18281@Informatik.TU-Muenchen.DE>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!spool.mu.edu!darwin.sura.net!news.duc.auburn.edu!ducvax.auburn.edu!hank
From: hank@ducvax.auburn.edu
Subject: Re: EMX-gcc and quoted strings
Message-ID: <1992Sep27.092023.1@ducvax.auburn.edu>
Lines: 21
Sender: usenet@news.duc.auburn.edu (News Account)
Nntp-Posting-Host: ducvax
Organization: Auburn University, AL
References: <1992Sep25.085009.1@ducvax.auburn.edu> <1992Sep25.220738.18281@Informatik.TU-Muenchen.DE>
Date: Sun, 27 Sep 1992 14:20:23 GMT
Lines: 21