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.
-----Original Message----- From: Mariusz Pagowski <address@hidden> To: John Caron <address@hidden> Date: Thursday, September 24, 1998 6:46 PM Subject: Re: 19980921 netcdf for windows nt > > >On Thu, 24 Sep 1998, John Caron wrote: > >> >> Somewhere you are redefining cl. >> Are you running from Dos prompt, or in the MKS shell? >> if from the shell, check aliases (just type "alias" at shell prompt) >> to see if you redefine cl ?? >I tried both : running form dos prompt and mks shell - with same >result. There is no sign that cl is redefined when I write alias, >Mariusz > > if you enter this from the command line, what happens: cl /nologo /W3 /FD /MT /O2 /D "NDEBUG" /D "DLL_NETCDF" /D "DLL_EXPORT" /c t_nc.c if that works ok, then why doesnt: cl $(CFLAGS) /c $*.c from nmake? You say you are getting: cl /nologo /W3 /FD /MT /O2 /D "NDEBUG" /D "DLL_NETCDF" /c t_nc.c t_nc.c cl /nologo /W3 /FD /MT /O2 /D "NDEBUG" /D "DLL_NETCDF" /D "DLL_EXPORT" t_nc.obj netcdf.lib /o t_nc.exe this implies that the .c.obj rule is being overridden, or it could be cl or CFLAGS or ? being redefined somewhere. You need to try trial and error until you find it. There is something in your environment that I cant duplicate. Perhaps someone else at your site can look over your shoulder.