[MLton] Library support mostly complete

Wesley W. Terpstra wesley at terpstra.ca
Wed Oct 22 04:09:00 PDT 2008


Thanks for the report.

On Wed, Oct 22, 2008 at 10:24 AM, Ville Laurikari <ville at laurikari.net> wrote:
> GCC does not implement the visibility options on AIX and complains
> loudly when trying to use them.

Are you using gcc > 4.0? What is the error it reports?

> On AIX, hiding symbols in shared
> objects is done at link time by supplying a list of exported symbols
> in an "export file" to the linker.  There's also similar "import file"
> mechanism to identify the external symbols to resolve at run time.

Is AIX not ELF? Why didn't we need an import file when building executables?

> There are the additional small problems of "-debug true" being
> hardcoded to stabs+ which is not supported on AIX, and an incorrect
> shared library suffix.  These are easy.

What the correct options for debug on AIX? I guess these options
should be moved into the mlton-script.

What is the extension for a shared library?



More information about the MLton mailing list