www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/23/14:11:50

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Suhaib M. Siddiqi" <Ssiddiqi AT InspirePharm DOT Com>
To: "Cygwin AT Sourceware DOT Cygnus DOT Com" <cygwin AT sourceware DOT cygnus DOT com>
Subject: CDF 2.6 library
Date: Wed, 23 Jun 1999 14:08:15 -0400
Message-ID: <NDBBLHPPKKBKPBLLMFJBCEFBCAAA.Ssiddiqi@InspirePharm.Com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Importance: Normal



A while ago someone sent me a personal message about HOW TO
compile CDF 2.6 with Cygwin B20.1.  Sorry do not remember
who was he. :-(

Till now I was using dlltool to make importlib for CDF.

Finally got the make file working.  The code now compiles
out of the box.
Edit the Makefile in CDF-2.6-dist directory and use
the following:

#---------------------------------------------------------------------------
---
# Macros specified on the `make' command line.
#---------------------------------------------------------------------------
---

IDL=no
FORTRAN=yes
CURSES=yes
SHARED=yes
OS=linux
ENV=gnu
INSTALLDIR=/dx-4.0.5
IDLINCLUDE=/usr/local/rsi/idl_5/external

In the Linux architue columns at the bottom of Makefile, this
is what I used now:

#---------------------------------------------------------------------------
---
# Macros for Linux.
#---------------------------------------------------------------------------
---

SHARED_linux=no
IDL_linux=no
FOPTIONS_linux=
FOPTIONSld_linux=
SHAREDEXT_linux=
LDOPTIONSlibcdf_linux=
LDOPTIONSidl_linux=
AROPTIONS_linux=rc
RANLIB_linux=yes
FC_linux=f77

CURSES_linux_gnu=yes
CC_linux_gnu=gcc -O2 -m486 -Dunix -ieee_with_inexact -DFP1cpu
PIC_linux_gnu=
COPTIONS_linux_gnu=
COPTIONSld_linux_gnu=
CURSESLIB_linux_gnu=-lncurses
SYSLIBSexe_linux_gnu=-lm
SYSLIBSshr_linux_gnu=


After these changes in the Makefile type *make all*
The code now should compile without any problems, not even a single
warning (at least on my system).

Suhaib



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019