[Omake] Cygwin toolchain using standard win32 install
Andrew Gacek
andrew.gacek at gmail.com
Thu May 24 12:59:22 PDT 2007
Hi All,
I'm using the omake 0.9.8 on windows which I installed using the
prepackaged msi file on the downloads page. My problem is that my
OSTYPE is listed as Win32 even though I'm using the Cygwin toolchain
(both for ocaml and C). Thus omake tries to compile C code using
cl.exe instead of gcc. My workaround for this has been to begin my
OMakeroot file with
if $(equal $(OSTYPE), Win32)
OSTYPE = Cygwin
GCC_FOUND = true
GXX_FOUND = true
export
open build/C
...
And in my OMakefile I have
if $(equal $(OSTYPE), Cygwin)
YACC = bison -by
LEX = flex
EXE = .exe
export
...
This seems rather ugly and prevents anybody from using the MS tool
chain to compile the project. Does anybody know a better way to deal
with this?
Thanks,
Andrew
More information about the Omake
mailing list