delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/19/18:38:53

Newsgroups: sci.math.num-analysis,comp.lang.fortran,gnu.gcc.help,comp.os.msdos.djgpp
From: pynq AT midway DOT uchicago DOT edu (Jeremy Mathers)
Subject: Re: FORTRAN code with DJGPP
Message-ID: <EF0u07.ALu@midway.uchicago.edu>
Sender: news AT midway DOT uchicago DOT edu (News Administrator)
Organization: Juli! Juli! Juli! The Juli Wood Fan Club.
References: <5smmgr$fcj AT tuegate DOT tue DOT nl>
Distribution: inet
Date: Sat, 16 Aug 1997 19:26:31 GMT
Lines: 41
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <5smmgr$fcj AT tuegate DOT tue DOT nl>,
Gina Fabian <gina AT se-38 DOT wpa DOT wtb DOT tue DOT 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 AT quads DOT uchicago DOT edu, who is still costing the net
	  hundreds, if not thousands, of dollars, every time he posts -
************************************************************************
rwvpf wpnrrj ibf ijrfer

- Raw text -


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