🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.acorn.tech
Article #492

Re: ObjAsm: Conditional Includes

#492
From: Frank Lancaster
Date: Mon, 21 Dec 1992 13:45
15 lines
1095 bytes
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
Technical Details
Message-ID: <FL.92Dec21124557@pierre.tools.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!Germany.EU.net!tools!fl
References: <1992Dec18.212509.7375@ugle.unit.no>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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