Fix an XXX related to clang and shared libraries on Mac OS X.

Branches: main, 11.07

Fix an XXX related to clang and shared libraries on Mac OS X.

configure.in:
	Use clang not gcc on Mac OS X for building shared libraries when using
	clang as a C compiler.

	Delete support for using flat namespaces with dylibs.  This was
	only necessary for creating dylibs that would work on Mac OS X 10.2
	and before; now it's no longer worth maintaining the code in the
	configure script that allowed it.

README.MacOS:
	Conform to the above change.
This commit is contained in:
Julien Fischer
2011-08-25 17:48:32 +00:00
parent d9965c6de4
commit 7201012038
2 changed files with 26 additions and 55 deletions

View File

@@ -85,9 +85,8 @@ Mercury on older versions of Mac OS X
-------------------------------------
There may be problems with building Mercury on versions of Mac OS X less than
10.3. In particular there may be problems with building and using shared
libraries. On these systems you will need to invoke Mercury's configure
script with the `--enable-darwin-flat-namespace' option.
10.3. In particular, building shared libraries with Mercury on these systems
is not supported.
The version of tar in /usr/bin/tar on some older versions of Mac OS X (e.g.
10.1) doesn't work properly -- it truncates long path names. Make sure you