public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* CDF 2.6 library
@ 1999-06-23 11:10 Suhaib M. Siddiqi
  1999-06-30 22:10 ` Suhaib M. Siddiqi
  0 siblings, 1 reply; 2+ messages in thread
From: Suhaib M. Siddiqi @ 1999-06-23 11:10 UTC (permalink / raw)
  To: Cygwin@Sourceware.Cygnus.Com

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* CDF 2.6 library
  1999-06-23 11:10 CDF 2.6 library Suhaib M. Siddiqi
@ 1999-06-30 22:10 ` Suhaib M. Siddiqi
  0 siblings, 0 replies; 2+ messages in thread
From: Suhaib M. Siddiqi @ 1999-06-30 22:10 UTC (permalink / raw)
  To: Cygwin@Sourceware.Cygnus.Com

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-06-30 22:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-23 11:10 CDF 2.6 library Suhaib M. Siddiqi
1999-06-30 22:10 ` Suhaib M. Siddiqi

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).