From hdfhelp@ncsa.uiuc.edu Thu Aug 15 11:27:20 2002 X-Envelope-From: hdfhelp@ncsa.uiuc.edu X-Envelope-To: Return-Path: Received: from kelgia.ncsa.uiuc.edu (kelgia.ncsa.uiuc.edu [141.142.15.17]) by mail.ncsa.uiuc.edu (8.11.6/8.11.6) with ESMTP id g7FGRKV03885 for ; Thu, 15 Aug 2002 11:27:20 -0500 Received: from localhost (hdfhelp@localhost) by kelgia.ncsa.uiuc.edu (8.11.6/8.11.3) with SMTP id g7FGRJX11240 for ; Thu, 15 Aug 2002 11:27:19 -0500 (CDT) Date: Thu, 15 Aug 2002 11:27:19 -0500 (CDT) From: HDF User Support To: bljones@ncsa.uiuc.edu Subject: Re: HDF4 under Cygwin (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MD5SUM: 470db75c81048ee396811736cfbb18ce Status: RO X-Status: ---------- Forwarded message ---------- Date: Wed, 14 Aug 2002 20:27:36 -0400 From: Fred Bacon To: Harvey.Davies@csiro.au Cc: hdfnews@ncsa.uiuc.edu Subject: Re: HDF4 under Cygwin On Thu, 15 Aug 2002 07:17:27 +1000 Harvey.Davies@csiro.au wrote: > I have both > * used the standard windows binaries under cygwin > * compiled & used hdf4 under cygwin > It all works OK. > > I found I needed to copy the HDF .dll files into the same directory as > the.exe file, otherwise dynamic loading > had problems. The main thing you need to be careful about in makefiles > is that windows compilers & linkers > need file paths in windows form (e.g. "C:\mydir\prog.c" rather than > "/c/mydir/proc.c"). You can use the cygwin > utility "windows_path" to automate this name conversion. > I've spent some time this afternoon modifying the various configuration files and creating the various makefile fragments. I'm currently stuck at the point of building libmfhdf. After prowling around, I've found a sunrpc package for cygwin, but I'm still having some problems. How did you deal with the rpc/xdr functionality under cygwin? -- Fred Bacon ======================================================================= Aerodyne Research, Inc. Phone: (978) 663-9500 ext. 273 45 Manning Rd. FAX: (978) 663-4918 Billerica, MA 01821-3976 http://www.aerodyne.com =======================================================================