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