[MITgcm-support] Problem building MITgcm on Cygwin: lack of ucontext.h
Dimitris Menemenlis
menemenlis at sbcglobal.net
Thu Aug 10 19:35:14 EDT 2006
Hi Mark, problem is fixed in code newer than checkpoint58f_post, see below.
Or comment out lines in sigreg.c manually.
> Re: [MITgcm-support] how to build the mitgcm code on cygwin?
>
> From: Ed Hill <ed at eh3.com>
> To: mitgcm-support at mitgcm.org
> Reply-To: mitgcm-support at mitgcm.org
> Date: May 23 2006 - 12:17am
>
> 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