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

Gregory Wright <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
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]

_______________________________________________
Hugs-Bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/hugs-bugs
patch-convert_libraries (application/octet-stream, 966 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.