List Info

Thread: Io on cygwin ?




Io on cygwin ?
user name
2006-12-24 16:19:59


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">iolanguageyahoogroups.com, "Baptiste Heyman"
<baptisteheyman...> wrote:
&gt;
> --- In iolanguage%40yahoogroups.com">iolanguageyahoogroups.com, "beman.smopuim&quot; <beman.smopuim>
>; wrote:
&gt; >
> > hi,philippe
> > I am a newbie, and wanna build io under cygwin,but meet with some
> > parameter questions, can you help me out?
> > =========================================
> > Bosshelen /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
&gt; > 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=&quot;/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!
&gt; >
> >
> >
> > --- In iolanguage%40yahoogroups.com">iolanguageyahoogroups.com, "philippe_quesnel"
&gt; > <philippe.quesnel> wrote:
&gt; > >
> > > hi
> > >
> > > I tried to get Io running on Windows w. cygwin.
&gt; > > Io itself seems to work ...
> >
>
> make OS=CYGW
&gt;

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )