Path: utzoo!attcan!uunet!lll-winken!ames!amdahl!pacbell!att!occrsh!uokmax!rmtodd From: rmtodd@uokmax.UUCP (Richard Michael Todd) Newsgroups: comp.unix.aux Subject: A/UX cpp (was Re: X windows Keywords: compiling xterm R3 Message-ID: <2947@uokmax.UUCP> Date: 16 Apr 89 00:06:11 GMT References: <2787@rtech.rtech.com> Reply-To: rmtodd@uokmax.UUCP (Richard Michael Todd) Organization: University of Oklahoma, Norman, OK Lines: 20 In article <2787@rtech.rtech.com> brett@rtech.rtech.com (Brett Taylor) writes: >The include file StringsDefs.h is indeed 245 lines of macro definitions. >It looks like the preprocessor has it's limitations. Has anyone else >had this problem? Do you know of a work around? Maybe someone has the >gcc preprocessor working for A/UX? Yep, I've seen it too. It is a preprocessor limitation. The only workaround I know of is to build GNU cpp and use it. (Fortunately, GNU cpp will compile with the A/UX preprocessor; some of the rest of GCC won't!). I think you should be able to get the GNU preprocessor working by using the config files for a 3b1 and hacking it slightly--the differences between a Mac II and a 3b1 aren't in anything that affects the preprocessor. I've got the GNU cpp working (as far as I know...), but can't yet post it because I don't have a working connection between my Mac and my modem (the A/UX manuals list 3 possible cable configurations, none of which agree with each other or with the cable I got from Jameco. Sheesh...) -- Richard Todd Fido:1:147/1 USSnail:820 Annie Court,Norman OK 73069 Try one of these: rmtodd@chinet.chi.il.us, rmtodd@killer.dallas.tx.us, rmtodd@uokmax.ecn.uoknor.edu or ...!sun!texsun!uokmax!rmtodd. "MSDOS is a Neanderthal operating system" - Henry Spencer