On 12/02/2011 07:43 PM, [email protected] wrote: > I'm having an issue compiling a shared library for as a plugin w/ ocamlbuild. > Turning the verbose options on I see that ocamlopt generates the following > during the final linking, > > /opt/ocaml-3.12.1/bin/ocamlopt.opt -shared -verbose -cc gcc > plugins/example.cmx > -o plugins/example.cmxs -ccopt -v > + as -o 'plugins/example.cmxs.startup.o' '/tmp/camlstartupe6993f.s' > + gcc -o 'plugins/example.cmxs' '-L/opt/ocaml-3.12.1/lib/ocaml' -v > 'plugins/example.cmxs.startup.o' 'plugins/example.o' > > When I remove the -cc option from ocamlopt.opt, the shared flag is > successfully > passed,
Where does the -cc flag come from? -- Stéphane -- Caml-list mailing list. Subscription management and archives: https://sympa-roc.inria.fr/wws/info/caml-list Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs
