public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Suhaib M. Siddiqi" <Ssiddiqi@InspirePharm.Com>
To: "Cygwin@Sourceware.Cygnus.Com" <cygwin@sourceware.cygnus.com>
Subject: CDF 2.6 library
Date: Wed, 23 Jun 1999 11:10:00 -0000	[thread overview]
Message-ID: <NDBBLHPPKKBKPBLLMFJBCEFBCAAA.Ssiddiqi@InspirePharm.Com> (raw)

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@sourceware.cygnus.com

WARNING: multiple messages have this Message-ID
From: "Suhaib M. Siddiqi" <Ssiddiqi@InspirePharm.Com>
To: "Cygwin@Sourceware.Cygnus.Com" <cygwin@sourceware.cygnus.com>
Subject: CDF 2.6 library
Date: Wed, 30 Jun 1999 22:10:00 -0000	[thread overview]
Message-ID: <NDBBLHPPKKBKPBLLMFJBCEFBCAAA.Ssiddiqi@InspirePharm.Com> (raw)
Message-ID: <19990630221000.u2YsNWSAQu49jkzA2hZuPksst-xAbsteRqINyv5fbUI@z> (raw)

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@sourceware.cygnus.com

             reply	other threads:[~1999-06-23 11:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-23 11:10 Suhaib M. Siddiqi [this message]
1999-06-30 22:10 ` Suhaib M. Siddiqi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=NDBBLHPPKKBKPBLLMFJBCEFBCAAA.Ssiddiqi@InspirePharm.Com \
    --to=ssiddiqi@inspirepharm.com \
    --cc=cygwin@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).