Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] Using Frontc
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Matthieu Dubuget <matthieu.dubuget@l...>
Subject: Re: [Caml-list] Using Frontc

> ocamlc -o main -I /home/sand/cil/obj/x86_LINUX/ pretty.cmo trace.cmo
> errormsg.cmo cabs.cmo cabsvisit.cmo escape.cmo cprint.cmo patch.cmo
> frontc.cmo main.cmo
> "Error while linking /home/sand/cil/obj/x86_LINUX/patch.cmo: Reference
> to undefined global 'Unix' "

Try this :
ocamlc -o main -I /home/sand/cil/obj/x86_LINUX/ unix .cma pretty.cmo
trace.cmo errormsg.cmo cabs.cmo cabsvisit.cmo escape.cmo cprint.cmo
patch.cmo frontc.cmo main.cmo

Salutations

Matthieu