[Omake] can't find the error in my omakefile

Aleksey Nogin nogin at metaprl.org
Mon Feb 12 11:07:58 PST 2007


On 12.02.2007 10:33, micha wrote:

> Aleksey Nogin wrote:
>> Basically, you are asking OMake to run
>>
>> ocamlc.opt -warn-error A -g -I . -custom -o hello.run ask.cmo 
>> color.cmo draw.cmo font.cmo labeltype.cmo box.cmo widget.cmo 
>> window.cmo hello.cmo valuator.cmo libofltk.a -cclib \"-lstdc++ 
>> -L/usr/local/lib -lfltk2 -lX11 -lXi -lm -lsupc++\"
>>
>> And you are getting the exact same error that you would get if you ran 
>> the above line in a shell.
> the $".." syntax gives the same result.

Are you sure? I tried myself with a slightly simplified version of your 
OMakefile, and using any of

CAML_LINK_FLAGS = -cclib $"-lstdc++ -L/usr/local/lib -lfltk2 -lX11 -lXi 
-lm -lsupc

or

CAML_LINK_FLAGS = -cclib "-lstdc++ -L/usr/local/lib -lfltk2 -lX11 -lXi 
-lm -lsupc

I seem to be getting the desired result ("cannot find -lfltk2", which is 
what I'd expect to get on my machine).

Aleksey



More information about the Omake mailing list