[m-rev.] for review: fix par grade link error on Darwin

Julien Fischer juliensf at cs.mu.OZ.AU
Wed Dec 22 00:17:46 AEDT 2004


On Tue, 21 Dec 2004, Ian MacLarty wrote:

> For review by anyone.
>
> Estimated hours taken: 3
> Branches: main
>
> Fix build error for hlc.par.gc grade on Darwin.  The problem was that the
It's a linking error.

> "-undefined suppress" option is not allowed with two level namespaces.
> The solution is to use "-undefined dynamic_lookup" instead.
> However this means the MACOSX_DEPLOYMENT_TARGET environment variable must be
> set to 10.3 since this feature will not work on Mac OS < 10.3.  To allow
> hlc.gc.par to be built on Mac 10.3, but targetted for Mac OS 10.0 - 10.2 add
> a configuration option to force the use of flat namespaces (the
> "-undefined suppress" option may be used with flat namespaces).
>
> configure.in
> 	Add --enable-darwin-flat-namespace option.  This is the default
> 	for Mac OS < 10.3.  For Mac OS 10.3 two level namespaces are used
> 	unless this option is given.
>
> 	Set a variable to cause the MACOSX_DEPLOYMENT_TARGET environment
> 	variable to be set if two level namespaces are being used.
>
> scripts/mmake.in
> scripts/ml.in
> scripts/mmc.in
> 	Set the MACOSX_DEPLOYMENT_TARGET environment variable wherever the
> 	linker may be called.
>
That looks fine.

Cheers,
Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list