---

** [bugs:#138] Linking against the CIL package fails.**

**Status:** open
**Created:** Thu Jun 27, 2013 04:18 AM UTC by Zachary Anderson
**Last Updated:** Thu Jun 27, 2013 04:18 AM UTC
**Owner:** nobody

The following used to work; it no longer does. This is preventing my CIL 
tutorial code from building.

$ ocamlfind ocamlopt -package cil -o cil_test.cmo -c -impl cil_test.ml
$ ocamlfind ocamlopt -package cil -o cil_test.exe_opt -linkpkg cil_test.cmx

cil_test.ml:
module F = Frontc
module C = Cil
module E = Errormsg

let main () =
  
  C.print_CIL_Input := true;
;;  


begin 
  try 
    main () 
  with
  | F.CabsOnly -> ()
  | E.Error -> ()
end;
exit (if !E.hadErrors then 1 else 0)


---

Sent from sourceforge.net because cil-users@lists.sourceforge.net is subscribed 
to https://sourceforge.net/p/cil/bugs/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/cil/admin/bugs/options.  Or, if this is a mailing 
list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to