Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!sun-barr!olivea!oliveb!amdahl!starsoft!david From: david@starsoft.hou.tx.us (Dave Lowrey) Newsgroups: comp.sys.amiga.programmer Subject: Re: SAS/C -dSYMBOL="string" help Message-ID: Date: 4 Apr 91 22:18:53 GMT References: <679@esosun.UUCP> Followup-To: comp.sys.amiga.programmer Organization: Starbound Software Group Lines: 35 In article phil@adam.adelaide.edu.au (Phil Kernick) writes: > > smithey@esosun.UUCP (Brian Smithey) writes: > > >Ran into a problem trying to move some code from Unix to my Amiga. > >The Unix code is defining a string (filename, actually) on the > >command line like this: > > >cc -DSOMESYMBOL -DFILE=\"filename\" yow.c > > You can't. It doesn't work. It is a serious bug in lc and I have not > found a good workaround. > > Maybe I should rewrite lc to be more like cc, or has someone already > done this? I use a "cc clone", written by Miles Bader. It had a few bugs that I fixed, and I have updated it to work with SAS/C. I would post it, except I have not been able to contact the original author to get his permission. What is the general consensus....Is it OK to modify "PD" code, and re- distribute it? I would, of course, give credit to the original author. Dave Lowrey ---------------------------------------------------------------------------- These words be mine. The company doesn't care, because I am the company! :-) Dave Lowrey | david@starsoft.hou.tx.us Starbound Software Group | Houston, TX | "Dare to be stupid!" -- Weird Al Yankovic