Patch to build Hugs Nov2002 release on Mac OS X 10.3 (Panther)

Gregory Wright gwright at comcast.net
Fri Nov 7 11:36:45 EST 2003


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
gwright at antiope.com



-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-convert_libraries
Type: application/octet-stream
Size: 966 bytes
Desc: not available
Url : http://haskell.org/pipermail/hugs-bugs/attachments/20031107/b01a3bee/patch-convert_libraries.obj


More information about the Hugs-Bugs mailing list