* [Caml-list] native code compilation of pcre
@ 2004-07-16 18:26 Mary Fernandez
2004-07-19 10:19 ` Markus Mottl
0 siblings, 1 reply; 2+ messages in thread
From: Mary Fernandez @ 2004-07-16 18:26 UTC (permalink / raw)
To: caml-list, markus
I am getting an error from ocamlopt when linking a .cmxa file
that is created during compilation of the PCRE library.
(pcre lib v5.08)
Here's the message:
ocamlopt -verbose -a -o foo.cmxa pcre.cmxa
pcre.cmxa is not a compilation unit description.
A thread in 2002 addressed the same problem, but
there was no resolution posted:
http://caml.inria.fr/archives/200205/msg00291.html
I am able to link and use pcre.cmo/x just fine
but want to create a library in which the pcre_stubs
is linked statically into pcre.cmxa and then subsequent
links into other libraries do not require pcre_stubs.
Thanks!
Mary
Mary Fernandez <mff@research.att.com>
AT&T Labs - Research
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Caml-list] native code compilation of pcre
2004-07-16 18:26 [Caml-list] native code compilation of pcre Mary Fernandez
@ 2004-07-19 10:19 ` Markus Mottl
0 siblings, 0 replies; 2+ messages in thread
From: Markus Mottl @ 2004-07-19 10:19 UTC (permalink / raw)
To: Mary Fernandez; +Cc: caml-list, markus
On Fri, 16 Jul 2004, Mary Fernandez wrote:
> I am able to link and use pcre.cmo/x just fine
> but want to create a library in which the pcre_stubs
> is linked statically into pcre.cmxa and then subsequent
> links into other libraries do not require pcre_stubs.
You just need to compile PCRE that way (see INSTALL-file):
make STATIC=y
This will create a library which has pcre_stubs linked statically into
the library.
Regards,
Markus
--
Markus Mottl http://www.oefai.at/~markus markus@oefai.at
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-07-19 10:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-16 18:26 [Caml-list] native code compilation of pcre Mary Fernandez
2004-07-19 10:19 ` Markus Mottl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox