From: mff <mff@research.att.com>
To: caml-list@inria.fr
Subject: MacOS port and file formats
Date: Thu, 30 Dec 2004 10:36:51 -0500 [thread overview]
Message-ID: <41D42093.5090604@research.att.com> (raw)
Greetings,
I have a question regarding the ./configure options for MacOS/Darwin.
./configure selects the -bundle option for MKSHAREDLIB, which
has the effect of creating MacOS bundle type files for the dynamically
linked libraries in lib/ocaml/stublibs. I have had trouble linking
these bundle files with the standard dynamically linked libraries
created with the -dynamiclib option. As an experiment, I replaced
-bundle by -dynamiclib and attempted to rebuild the O'Caml compiler,
but got an error deep in compilation of the compiler. Ultimately,
I just made the otherlibs/* libraries by hand with -dynamiclib and was able
to link my application.
I will admit that I am overwhelmed by the Darwin documentation
that explains how to port a Linux application to MacOS.
Can someone explain why the -bundle option is necessary to the compiler
compilation?
Is it because the O'Caml compiler a full-fledged Mac application?
Thanks, Mary
next reply other threads:[~2004-12-30 15:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-30 15:36 mff [this message]
2004-12-31 2:02 Mary Fernandez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41D42093.5090604@research.att.com \
--to=mff@research.att.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox