Richard,

Just instruct the preprocessor to not use Apple's precompiling preprocessor (cc -E -no-cpp-precomp).

David

I just got a new snapshot from CVS this morning and tried compiling
under MacOS 10.2 (Jaguar). Make has trouble in libdx. It tries to compile
__buffer.c and similar files when it should probably be looking for
buffer.c. Buffer.c is evidently generated by macro-preprocessing of __buffer.c
and then filtering and editing the output stream:

sed -e 's/[     ][      ]*\$/ $/' ./buffer.Z > __buffer.c
gcc -E __buffer.c | tr -s "\044" "\012" | sed -e '/^#/d' -e 's/INCLUDE2/#include/' -e 's/^pragma/
#pragma/'  > buffer.c


This is pretty scary code to me. Anyone care to comment on why all the post processing is
necessary?

Anyhow, could just be some changes need be made in makefile.am. Anyone
working on this section and understand what is going on?

  Richard Gillilan
  MacCHESS, Cornell


--
.............................................................................
David L. Thompson                   Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED]    5515 Skyway Drive, Missoula, MT 59804
                                    Phone : (406)257-8530

Reply via email to