[Omake] Cygwin toolchain using standard win32 install

Yegor Bryukhov ybryukhov at gmail.com
Thu May 24 13:03:11 PDT 2007


I personally, prefer to build omake for cygwin under cygwin, so I have
to copies on my computers - one for pure win32, one for cygwin

On 5/24/07, Andrew Gacek <andrew.gacek at gmail.com> wrote:
> 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
> _______________________________________________
> Omake mailing list
> Omake at metaprl.org
> https://lists.metaprl.org/mailman/listinfo/omake
>


-- 
Best regards,
Yegor
__________________________________________________________
Yegor Bryukhov,
Research Associate
Center for Algorithms and Interactive Scientific Software
City College of New York


More information about the Omake mailing list