home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / acorn / tech / 1118 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.0 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!Germany.EU.net!tools!fl
  2. From: fl@tools.de (Frank Lancaster)
  3. Newsgroups: comp.sys.acorn.tech
  4. Subject: Re: ObjAsm: Conditional Includes
  5. Message-ID: <FL.92Dec21124557@pierre.tools.de>
  6. Date: 21 Dec 92 13:45:57 GMT
  7. References: <1992Dec18.212509.7375@ugle.unit.no>
  8. Organization: Tools GmbH, Bonn, Germany
  9. Lines: 15
  10. NNTP-Posting-Host: pierre.tools.de
  11. In-reply-to: troeste@Mari.Unit.NO's message of Fri, 18 Dec 92 21:25:09 GMT
  12.  
  13.  
  14. In article <1992Dec18.212509.7375@ugle.unit.no> troeste@Mari.Unit.NO (Trygve R|ste) writes:
  15.  
  16. >   There is a switch on cc (Acorn/Norcroft C) which turns off compilation
  17. >   and linking, i.e. the preprocessor is the only part involved.
  18. >   Then cc can be used as a preprocessor for ObjAsm files:
  19. >
  20. >    cc -E -o tmp.asmfile s.asmfil
  21.  
  22. I think Acorn's cc always inserts #line statements into the
  23. preprocessed code. I wanted to use the preprocessor only mode
  24. for something different than c but had to use a cpp on unix
  25. instead because I couldn't use the #line statements.
  26.  
  27. -- Frank Lancaster, fl@tools.de
  28.