cygwin installation..

Christopher Faylor cgf@redhat.com
Tue Apr 24 09:07:00 GMT 2001


On Tue, Apr 24, 2001 at 08:50:50PM +1000, David Ryan wrote:
>Hi,
>
>I'm attempting to compile insight-5.0 under cygwin.  The cygwin environment
>is based on the latest install from www.cygwin.com.  I used the following
>configuration..
>
>./configure --host=i686-cygwin --target=mipsel_ecoff --prefix=/home/administ
>rator/insight
>make
>
>I've had a number of problems building tcl & libgui packages.  In tclEnv.c
>the #include <windows.h> caused a failure.  It seemed that if windows.h was
>not the first include file in a source a large number of errors would occur.
>In libgui the references to tk/generic/tkport.h was incorrectly looking for
>unix headers not windows.
>
>Anyone have any ideas what I'm doing wrong?

The Cygwin C compiler has changed.  This has been discussed a few times
here already and I suppose that we'll still be discussing it a year from
now.

Either use the CVS version of the sources or do:

CC='gcc -mwin32' /path/to/configure

You can check the mailing list archives for more discussion about this.

cgf



More information about the Insight mailing list