[comp.os.minix] ST: CPP limitations?

HBO043%DJUKFA11.BITNET@cunyvm.cuny.edu (Christoph van Wuellen) (07/25/90)

When trying to use the pre-processor with C-TeX, cpp gave an error message
at the same source line even if I increased the stack size to 500KBytes.

This must be another restriction of cpp, perhaps the value range of
16-bit ints etc. (BTW, the error is not there of course, cpp complains
about non-ascii characters).

Well, C-TeX is a hard job for a preprocessor (more than 100KB include files),
but has anyone had such problems before?

What can be considered as a possible replacement: I have gnu cpp (is it
that big?) and decus cpp (I think a pirate version of some commercial stuff).
                                                                              .
C.v.W.

P.S. everything compiles well on a workstation using c68. I will try to
carry over the assembler files, but I would like to be able to rebuild
everything on the 68k box.

minix%hsr.uninett@nac.no (minix) (07/26/90)

In a recent message Christoph van Wuellen <HBO043@DJUKFA11.bitnet> asked:
>>What can be considered as a possible replacement: I have gnu cpp (is it
>>that big?) and decus cpp (I think a pirate version of some commercial stuff).
>>                                                                             
 .
>>C.v.W.
>>

In the X11R4 release there is a preprocessor in the mit/util/cpp directory.
(I think it existed in R3 too.) I ported this to minix (PC) once without
any significant problems.  Compared to the ack cpp, it turned out to have
a little larger code-segment and a little smaller data-segment.  Unfortunately
I don't have patches easily available, but it wasn't a difficult program to
port.  I have not done any extensive testing of the program.

Bjarne Steinsbo <bjarne@hsr.no>

HBO043%DJUKFA11.BITNET@cunyvm.cuny.edu (Christoph van Wuellen) (07/30/90)

If that preprocessor you mentioned works well, it makes sense to post it
since the cpp for MINIX is binary-only.

Posting makes sense since not all listeners to this newsgroup are on
usenet and can fetch the files you mentioned.

C.v.W.