From: Nils Goesche <cartan@cartan.de>
To: Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] How to link libraries with C parts (Bug?)
Date: 12 Jun 2001 15:54:00 +0200 [thread overview]
Message-ID: <lkhexlls7b.fsf@pc022.bln.elmeg.de> (raw)
In-Reply-To: <20010612111904Y.garrigue@kurims.kyoto-u.ac.jp>
Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp> writes:
> From: Nils Goesche <cartan@cartan.de>
>
> > $ ocamlopt.opt -a mylibcall.o -o mylib.cmxa mylib.cmx
>
> In order to use the autolink feature of ocaml, you should put your C
> object inside a library. That is:
>
> $ ar cf libmylibcall.a mylibcall.o
I tried
$ ar cr libmylibcall.a mylibcall.o
and everything works fine now. I only tried _slight_ variations of
this :-)
Thanks very much,
--
Nils Goesche
"Don't ask for whom the <CTRL-G> tolls."
PGP key ID 0x42B32FC9
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
prev parent reply other threads:[~2001-06-12 13:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-08 19:45 Nils Goesche
2001-06-12 2:19 ` Jacques Garrigue
2001-06-12 13:54 ` Nils Goesche [this message]
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=lkhexlls7b.fsf@pc022.bln.elmeg.de \
--to=cartan@cartan.de \
--cc=caml-list@inria.fr \
--cc=garrigue@kurims.kyoto-u.ac.jp \
/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