[comp.windows.x] Imake versus cpp

mouse@LARRY.MCRCIM.MCGILL.EDU (10/04/90)

> I've been trying to get the imake in the R4 tapes ( /mit/config )
> working on VMS. I've been using two C preprocessors :

>                 Gnu cpp
>                 DECUS C cpp     /mit/util/cpp on the MIT R4 tape.

> I didn't get it working.  Has somebody else tried building imake for
> VMS ??

Not for VMS, but I had trouble getting imake to behave on the NeXT.
The supplied cpp is an ANSI cpp; it causes imake great indigestion.
Similarly with the DECUS cpp; it may or may not be quite ANSI, but it's
close enough to cause trouble.  I eventually gave up and brought over
source to the Reiser cpp.

The problem is that imake uses cpp as a fancy stream editor, while it's
intended, and specced, as a C preprocessor.

MIT, perhaps you could have imake use one of the free Reiser-style cpp
clones, and distribute it with X, rather than depending on the native
preprocessor to behave in a manner it is not guaranteed to and less and
less commonly will with the advent of ANSI C?

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu

guy@auspex.auspex.com (Guy Harris) (10/05/90)

>MIT, perhaps you could have imake use one of the free Reiser-style cpp
>clones, and distribute it with X,

There already *is* a C preprocessor distributed with X, namely the DECUS
one; I don't know how well it'd work with "imake".

mouse@LARRY.MCRCIM.MCGILL.EDU (10/05/90)

>> MIT, perhaps you could have imake use one of the free Reiser-style
>> cpp clones, and distribute it with X,

> There already *is* a C preprocessor distributed with X, namely the
> DECUS one; I don't know how well it'd work with "imake".

Didn't I say?  I tried that one, and it is too close to ANSI to work
with imake.  (For a C preprocessor, being close to ANSI is good.  For a
fancy stream editor used by imake, it's bad.)

As for *which* free Reiser-style cpp, I'm not sure.  If there's any
difficulty finding one, I can toss together a slow but
sufficient-for-imake preprocessor and give it to the Consortium, or
perhaps even place it in the public domain.

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu

karl@CGDISIS.CGD.UCAR.EDU (10/10/90)

In message <9010040321.AA04867@Larry.McRCIM.McGill.EDU> you write:

| > I've been trying to get the imake in the R4 tapes ( /mit/config )
| > working on VMS. I've been using two C preprocessors :
| 
| >                 Gnu cpp
| >                 DECUS C cpp     /mit/util/cpp on the MIT R4 tape.
| 
| > I didn't get it working.  Has somebody else tried building imake for
| > VMS ??
| 
| Not for VMS, but I had trouble getting imake to behave on the NeXT.
| The supplied cpp is an ANSI cpp; it causes imake great indigestion.
| Similarly with the DECUS cpp; it may or may not be quite ANSI, but it's
| close enough to cause trouble.  I eventually gave up and brought over
| source to the Reiser cpp.
| 
| The problem is that imake uses cpp as a fancy stream editor, while it's
| intended, and specced, as a C preprocessor.
| 
| MIT, perhaps you could have imake use one of the free Reiser-style cpp
| clones, and distribute it with X, rather than depending on the native
| preprocessor to behave in a manner it is not guaranteed to and less and
| less commonly will with the advent of ANSI C?
| 
| 					der Mouse
| 
| 			old: mcgill-vision!mouse
| 			new: mouse@larry.mcrcim.mcgill.edu

Hello. Where can I get this Reiser-style cpp? I want to use something
other than Sun source cpp to build a project maintainer for local
scientists. Should I look through the 'archie' server?
		Thanks,
			Karl Sierka

mouse@LARRY.MCRCIM.MCGILL.EDU (10/12/90)

>>> [imake vs cpp, on VMS]
>> Not for VMS, but I had trouble getting imake to behave on the NeXT.
>> [...] I eventually gave up and brought over source to the Reiser
>> cpp.

>> [...] one of the free Reiser-style cpp clones, [...]

> Hello.  Where can I get this Reiser-style cpp?

*Which* Reiser-style cpp?  The only specific cpp I mention above is not
just Reiser-style, it's the real thing.  You should have a copy with
your system, unless you aren't licensed for it, in which case it is
probably illegal for me to give you a copy.

That said, I do have a cpp with nearly Reiser semantics that contains
no licensed code.  However, I think it contains dependencies on local
code, such that it would not be useful if I were to give out copies.  I
should clean it up for release, and perhaps I will find the time to do
so....  (If you want a copy of it anyway, just give me the word, but
don't complain when it won't build for you :-)

> Should I look through the 'archie' server?

That might be worth doing, though I don't know specifically whether
there is anything of use to you there.

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu