This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Makefile conversion needed, can't find lf2c
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: Joseph Maxwell <jemaxwell at jaymax dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 13 May 2003 00:21:19 +0200
- Subject: Re: Makefile conversion needed, can't find lf2c
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <3EBFA9B4.B3CF6D5E@jaymax.com>
Joseph Maxwell wrote:
I am doing an installation of a program and have a relatively simple
machine dependent Makefile for a Linux platform running fort77. However,
I am using Freebsd w/ gcc-3.2.3. I am a novice with this compiler and
related loaders. It seems that the loader is looking for a program file
- lf2c
[ /usr/libexec/elf/ld: cannot find -lf2c ]
Could someone suggest changes to the Makefile to make it useable.
If g77-3.2.3 is installed on FreeBSD along with gcc-3.2.3, the following
should be sufficient:
FC = fort77
FC = g77
LDFLAGS= -lm -lf2c
LDFLAGS =
Hope this helps,
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://gcc-g95.sourceforge.net/ (under construction)