[m-dev.] MAC OS X Success!

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Apr 16 20:13:40 AEST 2001


On 15-Apr-2001, Terrence Brannon <princepawn at earthlink.net> wrote:
> -- I did have to go an run ranlib on several libraries after typing make
> install_main though. 

That is almost certainly due to a problem detecting ranlib during
configuration.  Could you please post the contents of config.log and
configure.log?

> -- also, hello_world (from rbeck's excellent tutorial) comes out as a
>    3 megabyte file!

The real fix for this is to support shared libraries.
But there are some much easier things you can do which may
improve things a lot:
(1) Try using `strip' on the executable.
(2) Build it in grade hlc.gc, it'll probably be 2-3 times smaller.
	mmake hello_world.clean
	mmake GRADE=hlc.gc hello_world.depend
	mmake GRADE=hlc.gc hello_world
    or just
        mmc -H hello

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list