This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: g77 install problem on an i386 platform running FreeBSD 4.2.xO/S
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: Joseph Maxwell <jemaxwell at jaymax dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Sun, 27 Apr 2003 12:29:40 +0200
- Subject: Re: g77 install problem on an i386 platform running FreeBSD 4.2.xO/S
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <3EAAD142.A0183BD9@jaymax.com>
Joseph Maxwell wrote:
I am running FreeBSD O/S 4.2x on an i386 architecture and attempting to
install the gcc v3.2.3 package in order to use the g77
Fortran compiler.
Steps:
Downloaded, untarred etc.
sh ./configure --with-f2c --with-g77
make
Hmmm - what I always do is create a separate build directory:
mkdir obj
cd obj
../gcc-x.xx/configure
make bootstrap
Note that --with-f2c and --with-g77 is not necessary; they're the
default. However, you *have* to say 'make bootstrap', otherwise the
compiler won't build correctly.
Hope this helps,
--
Toon Moene - mailto:toon at moene dot indiv dot nluug dot 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)