delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/13/17:57:21

Message-ID: <391DCD19.3E7E38C1@mtu-net.ru>
Date: Sun, 14 May 2000 01:46:01 +0400
From: "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru>
X-Mailer: Mozilla 4.72 [en] (Win95; I)
X-Accept-Language: ru,en
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: djgpp AT delorie DOT com
Subject: Re: OT: RHIDE and G77 (FORTRAN 77)
References: <391C43DC DOT 70CAD047 AT mtu-net DOT ru> <200005132121 DOT RAA16250 AT indy DOT delorie DOT com>
X-Recipient: eliz AT is DOT elta DOT co DOT il
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrote:
> 
> Does it help if you call the source file hw.f, not hw.for?

Nope. I've already tried that.

> > RHIDE puts the "RHIDE_TYPED_LIBS.f=m f2c" line to the make file.
> 
> What makefile?  How does the makefile enter this picture, if you
> compile the project in RHIDE?

The makefile produced by RHIDE. I tried to find what exactly RHIDE does with
that makefile.

> Also, djgpp.env has this line in the [rhide] section, which should
> help IIRC:
> 
>   RHIDE_TYPED_LIBS_DJGPP.f=g2c m

Unfortunately, this seems to be a line just for fun. RHIDE puts f2c instead
of g2c by default. :(

> > If I change that line to "RHIDE_TYPED_LIBS.f=m" and run make, I get the
> > following messages:
> 
> Instead of removing f2c, change it to g2c (g77 doesn't have libf2c.a,
> it has libg2c.a).  But I really think that the above line in djgpp.env
> should have already done that for you.

In order to fix that, I copied share/rhide/rhide_.env to
share/rhide/rhide.env (in fact, I renamed it so that RHIDE could read it)
and added the following line to the end of that new file:
RHIDE_TYPED_LIBS.f=g2c m

bye.
Alexei A. Frounze
-----------------------------------------
Homepage: http://alexfru.chat.ru
Mirror:   http://members.xoom.com/alexfru

- Raw text -


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