hi,
yes, the problem it seems, is that Windows defines an environment
variable named 'OS' (set to something like 'winnt').
in the Makefiles we find this:
OS ?= $(shell uname -s)
which leaves the 'OS' var alone if it already has a value...
so the Makefile will try to compile in 'Windows' mode,
not in 'cygwin' mode.
you can unset this var before doing a make & it will fix this problem.
(ie w. bash: unset OS)
let us know if you succeed in building AD running Io under cygwin.
When I tried, I got it to build, but could not get dynamic libraries
to work (crashes)...
I was unable to try the latest sources from darcs because of a small
darcs repository glitch,
maybe the latest srcs work better w. cygwin !?
good luck
--- In iolanguage%40yahoogroups.com">iolanguage
yahoogroups.com, "Baptiste Heyman"
<baptisteheyman
...> wrote:
>
> --- In iolanguage%40yahoogroups.com">iolanguage
yahoogroups.com, "beman.smopuim" <beman.smopuim
>
> wrote:
> >
> > hi,philippe
> > I am a newbie, and wanna build io under cygwin,but meet with some
> > parameter questions, can you help me out?
> > =========================================
> > Boss
helen /cygdrive/d/program/darcs/darcsdir-w32/io
> > $ make
> > for dir in basekit coroutine garbagecollector skipdb iovm; do
> > INSTALL_PREFIX=/us
> > r/local make -C libs/$dir; done
> > make[1]: Entering directory
> > `/cygdrive/d/program/darcs/darcsdir-w32/io/libs/base
> > kit'
> > mkdir -p _build
> > mkdir -p _build/objs
> > mkdir -p _build/headers
> > mkdir -p _build/lib
> > mkdir -p _build/dll
> > make _build/lib/libbasekit.a
> > make[2]: Entering directory
> > `/cygdrive/d/program/darcs/darcsdir-w32/io/libs/base
> > kit'
> > cc -DINSTALL_PREFIX="/usr/local" -Zi -MTd -D_USE_MATH_DEFINES
> > -DWIN32 -D_DEBUG
> > -D_CRTDBG_MAP_ALLOC -I. -I/source -DBUILDING_BASEKIT_DLL -c
> > source/BStream.
> > c -Fo_build/objs/BStream.o
> > cc: unrecognized option `-Zi'
> > cc: unrecognized option `-Fo_build/objs/BStream.o'
> > cc1: error: to generate dependencies you must specify either -M or -MM
> > make[2]: *** [_build/objs/BStream.o] Error 1
> > ========================
> > thanx!
> >
> >
> >
> > --- In iolanguage%40yahoogroups.com">iolanguage
yahoogroups.com, "philippe_quesnel"
> > <philippe.quesnel
> wrote:
> > >
> > > hi
> > >
> > > I tried to get Io running on Windows w. cygwin.
> > > Io itself seems to work ...
> >
>
> make OS=CYGW
>
.