This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
John, >Date: Fri, 18 Feb 2000 10:42:06 -0700 >From: "John Huddleston" <address@hidden> >Organization: USDA >To: "Steve Emmerson" <address@hidden> >Subject: Re: 20000218: Re: add CYGWIN to cfortran.h? >Keywords: 200002181643.JAA04935 In the above message, you wrote: > > > For the install to work: > > > Edit the rules.make file and add the .exe to the > > > BINDIR line for both the destination and the target. > > > > I'm afraid that's one change we won't make because the makefile would > > then be useless on true Unix systems. > > > > How about... > > export UNIX_SYS:=$(shell uname | cut -c1-6) > > # then later > $(BINDIR)/$(PROGRAM): $(BINDIR) $(PROGRAM) > ifeq ($(UNIX_SYS), CYGWIN) > cp $(PROGRAM).exe $@.exe > else > cp $(PROGRAM) $@ > endif Not all make(1) utilities support the above "ifeq" construct. For example, the SunOS 5.7 make doesn't. > Attached is the netcdf-3.5 binary built for CYGWIN. Thanks, but we'd really rather not become a repository for binaries not built on in-house systems because it leads to distracting support questions that we can't answer. You could make it available, however. Regards, Steve Emmerson <http://www.unidata.ucar.edu>