www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/12/10:15:37

Date: Tue, 12 Dec 2000 17:01:58 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: Waldemar Schultz <schultz AT ma DOT tum DOT de>, djgpp AT delorie DOT com
Subject: Re: FORTRAN 90 to C converter
In-Reply-To: <Pine.SUN.3.91.1001212133945.25377C-100000@is>
Message-ID: <Pine.A41.4.05.10012121659160.137170-100000@ieva06.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


On Tue, 12 Dec 2000, Eli Zaretskii wrote:

> 
> On Tue, 12 Dec 2000, Waldemar Schultz wrote:
> 
> > can g77 also generate C-source ?
> 
> I don't know.  It's possible that it can't: g77 is a front end to GCC, so 
> it probably generates RTL (sp?).
> 
> Can't simply link the .o files it produces?  They are compatible with 
> what gcc generates (for the same platform), so you shouldn't need the C 
> code that came from converting the Fortran sources.
> 

It cannot generate C code AFAIK. But I think these .o could be linked
together with ones got from C or C++ sources. However some hacking
may be needed (how one should name in C procedure which is defined in 
Fortran). Also does these sources compile with  g77?

Andris


- Raw text -


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