🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.math.num-analysis
Article #1305

Re: FORTRAN code with DJGPP

#1305
From: Jeremy Mathers
Date: Sat, 16 Aug 1997 00:00
42 lines
2556 bytes
In article <5smmgr$fcj@tuegate.tue.nl>,
Gina Fabian <gina@se-38.wpa.wtb.tue.nl> wrote:
>
> Hi everybody,
>
>
> I am asking your help to solve the following problem:
>
> I develop a software in C++ for DOS and Linux. I use a well known
>and fairly well debugged FORTAN code: DDASRT. The problem started
>when I added an other FORTRAN routine: NLEQ.
>
> After renaming some routines in the two FORTRAN codes, so they do not
>shadow each other, I could compile the code under Linux with gcc
>2.7.2.1 I could compile it as well under DOS, using the EMX port of
>gcc.  What I did, is that I compiled the FORTRAN routines using g77,
>and I used the headers generated by f2c to declare the routines for
>the rest of the code.
>
> Now, it is important for me to be able to compile the code with
>DJGPP, the other DOS port of gnu gcc.

I have a suggestion for you.  Try using EMX/GCC under OS/2 to compile the
DOS version.  The world of EMX is much closer in spirit to that of Unix than
is DJGPP.

The downside of this is that you have to run OS/2 to do the compilation.
I.e., EMX can produce executables that run under DOS, but the compiler
itself requires OS/2.

************************************************************************
	"Soon, the Microsoft Network will be full of 10,000,000 clueless
	 newbies with nothing to do and with money to waste (*).  As a
	 marketer, who could ask for anything more?"  (me)

	(*) They bought WIN95, didn't they?

	- pynq@quads.uchicago.edu, who is still costing the net
	  hundreds, if not thousands, of dollars, every time he posts -
************************************************************************
rwvpf wpnrrj ibf ijrfer
Technical Details
Message-ID: <EF0u07.ALu@midway.uchicago.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <5smmgr$fcj@tuegate.tue.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,958236ac4204e478
X-Google-Attributes: gid11318c,public
X-Google-Thread: 10891a,958236ac4204e478
X-Google-Attributes: gid10891a,public
X-Google-Thread: 107079,958236ac4204e478
X-Google-Attributes: gid107079,public
X-Google-Thread: 1094ba,958236ac4204e478
X-Google-Attributes: gid1094ba,public
From: pynq@midway.uchicago.edu (Jeremy Mathers)
Subject: Re: FORTRAN code with DJGPP
Date: 1997/08/16
Message-ID: <EF0u07.ALu@midway.uchicago.edu>
X-Deja-AN: 264590726
Sender: news@midway.uchicago.edu (News Administrator)
References: <5smmgr$fcj@tuegate.tue.nl>
Distribution: inet
X-Nntp-Posting-Host: ellis-nfs.uchicago.edu
Organization: Juli! Juli! Juli!  The Juli Wood Fan Club.
Newsgroups: sci.math.num-analysis,comp.lang.fortran,gnu.gcc.help,comp.os.msdos.djgpp