[MITgcm-support] how to build the mitgcm code on cygwin?

Ed Hill ed at eh3.com
Mon May 22 18:17:08 EDT 2006


On Sun, 2006-05-21 at 08:10 -0700, Dimitris Menemenlis wrote:
> 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?

Hi Dimitris,

I've added a few lines to genmake2 so that having:

  HAVE_SIGREG=f

in your optfile (eg. on cygwin) will, in a *very* portable fashion,
completely remove all the signal registration bits.

Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS 54-1424;  77 Massachusetts Ave.
             Cambridge, MA 02139-4307
emails:  eh3 at mit.edu                ed at eh3.com
URLs:    http://web.mit.edu/eh3/    http://eh3.com/
phone:   617-253-0098
fax:     617-253-4464





More information about the MITgcm-support mailing list