Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] OCamlMake and cmo files
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
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

RESULT  = editor2
INCDIRS = +lablgtk2
LIBS = lablgtk


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 Archives:
Bug reports: FAQ:
Beginner's list: