From: Sergey Vlasov <vsu@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] pcre-ocaml custom executables
Date: Thu, 10 Apr 2008 16:02:22 +0400
Message-ID: <20080410120222.GF12554@newmaster.mivlgu.local> (raw)
In-Reply-To: <20080410103437.GA14175@solemn.turbinal>
[-- Attachment #1: Type: text/plain, Size: 726 bytes --]
On Thu, Apr 10, 2008 at 02:34:37PM +0400, Alexey Tourbin wrote:
> У меня вопрос к специалистам по окамлю. Я когда линкуюсь с pcre.cma,
> у меня окамль создаёт custom executable, а не bytecode ocamlrun script.
> Почему так происходит?
Потому что при сборке пакета pcre-ocaml в Makefile не передаётся
NO_CUSTOM=1, в результате ocamlc вызывается с опцией -custom, которая
запоминается в pcre.cma и автоматически включается при сборке любой
программы, использующей эту библиотеку.
Нужно пересобрать пакет с добавлением NO_CUSTOM=1 (это не мешает
сборке custom runtime при необходимости - значения опций -cclib всё
равно сохраняются в *.cma и будут автоматически подставлены при сборке
с указанием опции -custom).
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2008-04-10 12:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-10 10:34 Alexey Tourbin
2008-04-10 12:02 ` Sergey Vlasov [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=20080410120222.GF12554@newmaster.mivlgu.local \
--to=vsu@altlinux.ru \
--cc=devel@lists.altlinux.org \
/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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git