www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/31/21:20:24

From: "DoLL" <jbdoll AT kepri DOT re DOT kr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help needed: libf2c.a library (fortran)
Date: Tue, 1 Jun 1999 09:25:13 +0900
Organization: KREONet news service
Lines: 18
Message-ID: <7iv9e4$brk$1@usenet.kreonet.re.kr>
References: <3 DOT 0 DOT 5 DOT 32 DOT 19990528114447 DOT 007b8e00 AT jafar DOT uqar DOT uquebec DOT ca> <3 DOT 0 DOT 5 DOT 32 DOT 19990531114327 DOT 007bd100 AT jafar DOT uqar DOT uquebec DOT ca>
NNTP-Posting-Host: cyberdog.kepri.re.kr
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I don't have 'libf2c.a', but g77 works well.

I make  your simptest.f using the command
> g77 simptest.f -o simptest.exe

No Error, No Warning messages.

When I try to make using gcc,
like this : gcc simptest.f -o simptest.exe -lf2c

It gives me the Error message :
Error: d:/djgpp/bin/ld.exe: cannot open -lf2c: No such file or directory
(ENOENT)

How do you compile and link your fortran file?



- Raw text -


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