My problem is with
GC-3.0.3 on Solaris 8
If you have a
non-blank first line (that is not a directive), followed by
a directive (such as
#include), the CRs are left off.
file1:
line1
#include
"file2"
line5
file2:
line2
line3
line4
when running cpp -P
file1, I get this result:
line1line2
line3
line4line5
If I put a blank
line or a directive on line1 of file1 then the behavior is
correct:
file1:
#define test
1
line1
#include
"file2"
line5
the output
is:
line1
line2
line3
line4
line5
It takes 1.5 hours
to do a full build/install on Solaris 8 so it's hard to make
changes
and debug. If
I had a PC version, it would probably compile in less than a minute
and
I could debug it,
find the problem and update the Solaris install.
If someone has an answer on where to hack cppmain.c please
send
thanks,
Robert