[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2003-11-27 (22:14) |
From: | Flavio <sixdegreesoit@y...> |
Subject: | Re: [Caml-list] OCamlMake and cmo files |
Alle 13:14, giovedì 27 novembre 2003, Markus Mottl ha scritto: > If you want to link anything that is only available in byte code (or > pass special flags to the byte code linker), just use the variable > OCAMLBLDFLAGS (see README in the distribution for details). > Everything you put in there will be passed verbatim in the linking > stage. Now my Makefile is: OCAMLMAKEFILE = /usr/share/ocaml-tools/OCamlMakefile SOURCES = editor2.ml RESULT = editor2 INCDIRS = +lablgtk2 LIBS = lablgtk OCAMLBLDFLAGS = gtkInit.cmo but this executes ocamlc -I +lablgtk2 gtkInit.cmo lablgtk.cma -o editor2 editor2.cmo that gives an error because the right order is (lablgtk.cma first): ocamlc -I +lablgtk2 lablgtk.cma gtkInit.cmo -o editor2 editor2.cmo And now? Many thanks for your help (and patience) > Regards, > Markus Mottl ------------------- 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