X-Authentication-Warning: ieva01.lanet.lv: pavenis owned process doing -bs Date: Tue, 1 Jun 1999 09:44:38 +0300 (WET) From: Andris Pavenis To: djgpp AT delorie DOT com Subject: Re: Help needed: libf2c.a library (fortran) In-Reply-To: <7iv9e4$brk$1@usenet.kreonet.re.kr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 1 Jun 1999, DoLL wrote: > 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? > Try g77 simptest.f -o simptest.exe or gcc simptest.f -o simptest.exe -lg2c -lm