Files
mercury/README.MacOS
Fergus Henderson 157f7e3f82 Mention which features are not supported.
Estimated hours taken: 0.1
Branches: main

README.MacOS:
	Mention which features are not supported.
2002-10-25 07:31:11 +00:00

26 lines
1.2 KiB
Plaintext

This file documents the port of Mercury to PowerPC Macs running MacOS X,
i.e. the "powerpc-apple-darwin" configuration.
The version of tar in /usr/bin/tar on MacOS (10.1) doesn't work properly --
it truncates long path names. Make sure you use GNU tar, which is available
in /sw/bin/gtar, when unpacking the Mercury source or binary distributions.
(Also, make sure to use GNU tar if/when *building* such distributions!)
Apple's version of gcc includes support for precompiled headers.
Unfortunately this support seems to be somewhat buggy, causing it
to sometimes crash with mysterious errors when building Mercury.
Furthermore, for the kinds of C code that the Mercury compiler generates,
it results in a very big slow-down, rather than any speedup.
Fortunately this can be disabled by using the --traditional-cpp option.
The Mercury configure script should enable this option automatically
if it is needed.
The configure script will by default choose grade reg.gc.
You can get better performance by using the hlc.gc grade.
The fast.gc and asm_fast.gc grades are not supported on PowerPC.
The following features are not yet supported on MacOS:
- shared libraries
- interactive queries in mdb
- the `--split-c-files' option to mmc