[Omake] Cygwin toolchain using standard win32 install

Andrew Gacek andrew.gacek at gmail.com
Thu May 24 13:05:40 PDT 2007


I've tried to build omake under cygwin but I keep running into errors.
I suspect part of this is because I have my path configured so that
within cygwin I can still see many standard windows programs
(including another version of omake and make). Are there any plans for
an omake package with cygwin? Or plans for a windows installer built
for the Cygwin toolchain (like how ocaml has two windows installers)?

Thanks,
Andrew

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


More information about the Omake mailing list