caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] -custom linking against -lncurses?
@ 2012-11-30  9:31 Malcolm Matalka
  2012-11-30 14:59 ` Gerd Stolpmann
  0 siblings, 1 reply; 2+ messages in thread
From: Malcolm Matalka @ 2012-11-30  9:31 UTC (permalink / raw)
  To: caml-list

I have noticed on my machine, ocamlc, using -custom, tries to link the
resulting code against ncurses[1].

Is this behaviour expected?  I know how to get around this on my OS but
not sure why it's happening in the first place.

/Malcolm 

[1]
malcolm@nix-junkyard:/tmp$ ocamlc -o foo foo.ml
malcolm@nix-junkyard:/tmp$ ocamlc -custom -o foo foo.ml
/nix/store/1iigiim5855m8j7pmwf5xrnpf705s4dh-binutils-2.21.1a/bin/ld:
cannot find -lncurses
collect2: ld returned 1 exit status
File "foo.ml", line 1, characters 0-1:
Error: Error while building custom runtime system

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-30 14:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-30  9:31 [Caml-list] -custom linking against -lncurses? Malcolm Matalka
2012-11-30 14:59 ` Gerd Stolpmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).