[m-rev.] For review: Shared Mercury libs on Mac OS X
Julien Fischer
juliensf at cs.mu.OZ.AU
Tue Oct 12 16:26:01 AEST 2004
On Tue, 12 Oct 2004, Ian MACLARTY wrote:
> On Tue, Oct 12, 2004 at 01:57:14AM +1000, Julien Fischer wrote:
> >
> > On Tue, 12 Oct 2004, Ian MacLarty wrote:
> >
> > > On 10 Oct 2004, at 05:08, Julien Fischer wrote:
> > >
> > > > > 1. The -undefined_suppress linker option doesn't work with two level
> > > > > namespaces which is the default on Darwin. Is the
> > > > > --allow-undefined ml option used? If so should shared libs
> > > > > rather use flat namespaces. Alternatively the ALLOW_UNDEFINED
> > > > > configuration variable can be set to "-undefined
> > > > > dynamic_lookup", but that'll only work for Mac OS >= 10.3. I
> > > > > didn't get any undefined symbols when compiling the compiler.
> > > > >
> > > > At the moment we should probably just support versions >= 10.3.
> > > >
> > > I guess, but everything seems to work okay without having to use "-undefined
> > > dynamic_lookup", so I don't see the need to resort to this 10.3 specific
> > > feature. Currently everything should in theory still work on 10.2 and 10.1.
> > >
> > It's probably worth mentioning in README.MacOS that this has not been
> > tested on 10.2 and 10.1.
> >
>
> Index: README.MacOS
> ===================================================================
> RCS file: /home/mercury1/repository/mercury/README.MacOS,v
> retrieving revision 1.6
> diff -u -r1.6 README.MacOS
> --- README.MacOS 4 Oct 2004 06:45:13 -0000 1.6
> +++ README.MacOS 12 Oct 2004 01:39:02 -0000
> @@ -25,6 +25,8 @@
> 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
> +
> +Linking to shared versions of the Mercury libraries works on Mac OS 10.3, but
> +hasn't been tested on previous versions of Mac OS X (although they should).
>
s/although they should/although it should work/
> > > > > Mmake.common.in
> > > > > Added variables used for install-name on/off switch and flag name.
> > > > >
> > > > Do you need to make any changes to Mmake.workspace?
> > > >
> > > I don't know. tools/lmc seems to work, although it only seems to
> > > statically link in the mercury libraries. --mercury-linkage may not be an
> > > option lmc recognises.
> > >
> > I think it's meant to do that.
> >
> Well then I don't think any changes need to be make to Mmake.workspace - do
> you agree?
>
Yes.
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