[MITgcm-support] how to build the mitgcm code on cygwin?
menemenlis at sbcglobal.net
Sun May 21 11:10:15 EDT 2006
Hi Ed, I have a full installation of cygwin but there is no "ucontext.h" header
file anywhere. So I get the same error message as Brainf does. Shall we
exclude sigreg.c by defining a TARGET_CYGWIN flag in the cygwin_ia32_g77
build_option? Is there a better way to do this?
> Your cygwin install doesn't include a full development environment. It
> lacks the headers that declare data structures for signal registration.
> Those headers are probably available (or installable) within cygwin
> since they are needed by a vast number of packages (not least of which
> is bash).
> So, some things that can be done are:
> 1) figure out how to install those headers (probably a quick
> "apt-get ..." command but I don't know which package
> provides them),
> 2) by hand, remove all instances of "sigreg.c" from the Makefile
> following the "make depend" step, or
> 3) quit using the half-baked cygwin environment and run MITgcm
> on an actual Linu or Unix machine.
More information about the MITgcm-support