home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.acorn.tech
- Path: sparky!uunet!mcsun!sunic!ugle.unit.no!mari.unit.no!troeste
- From: troeste@Mari.Unit.NO (Trygve R|ste)
- Subject: Re: ObjAsm: Conditional Includes
- Message-ID: <1992Dec18.212509.7375@ugle.unit.no>
- Sender: news@ugle.unit.no (NetNews Administrator)
- Reply-To: troeste@Mari.Unit.NO (Trygve R|ste)
- Organization: University of Trondheim
- Date: Fri, 18 Dec 92 21:25:09 GMT
- Lines: 19
-
-
- 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
- objasm -o o.asmfile tmp.asmfile
- erase tmp.asmfile
-
- where spp.asmfile is an objasm file containing #define, #ifndef,
- #include etc...
-
- I have not tried it yet, but I think it should work.
-
- Anyway, it would have been better if it where possible only with ObjAsm directives.
-
-
- -Trygve
-
-
-