Hi,

Attached is a patch to build the last release of Hugs on Mac OS X 10.3 (Panther).
The patch is required by a change to gcc (gcc-3.3 is now the default compiler).

The patch fixes the behavior of the new preprocessor, which prefixes

#pragma GCC set_debug_pwd <directory in which the file is found>

to every file. Needless to say, if the output of the C preprocessor is used by
a program other than gcc, problems occur.

The convert_libraries script calls cpp. The patch filters the output through sed:

sed -n '/^#pragma/!p'

This should work on Apple's gcc-3.3 without affecting builds on other compilers.
The patch applies in the top level hugs directory.

Best Wishes,
Greg Wright


Gregory Wright Antiope Associates LLC [EMAIL PROTECTED]




Attachment: patch-convert_libraries
Description: Binary data

_______________________________________________
Hugs-Bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/hugs-bugs

Reply via email to