From: Joseph Maxwell <jemaxwell@jaymax.com>
To: Toon Moene <toon@moene.indiv.nluug.nl>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Makefile conversion needed, can't find lf2c
Date: Wed, 14 May 2003 15:23:00 -0000 [thread overview]
Message-ID: <3EC25F7E.E5B232F3@jaymax.com> (raw)
In-Reply-To: <3EC01E5F.3010808@moene.indiv.nluug.nl>
Thanks Toon, also had to replaced lf2c ( a cross compiler apparently ) with
lg2c i.e.
LDFLAGS= -lm -lg2c
Thanks
-- Joe --
Toon Moene wrote:
> 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)
prev parent reply other threads:[~2003-05-14 15:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-12 14:03 Joseph Maxwell
2003-05-12 22:20 ` Toon Moene
2003-05-14 15:23 ` Joseph Maxwell [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EC25F7E.E5B232F3@jaymax.com \
--to=jemaxwell@jaymax.com \
--cc=gcc-help@gcc.gnu.org \
--cc=toon@moene.indiv.nluug.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).