This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
which branch should I use?
- From: howarth at bromo dot msbb dot uc dot edu (Jack Howarth)
- To: fortran at sources dot redhat dot com
- Date: Mon, 25 Jul 2005 22:43:07 -0400 (EDT)
- Subject: which branch should I use?
I am going to try to follow the gfortran development here with
on MacOS X by fixing up the old gfortran.info fink build script
(last used with MacOS X 10.2-gcc3.3) to build the current gfortran.
The fink gfortran maintainer has since decided that g95 was more
stable and should be his focus in packaging.
What is the best tree/branch to use for building the gfortran
compiler alone. I am currently thinking I want whatever is the
branch for stage 3 of gcc 4.1, right? Also here is the fink build
script that was used with the tree-ssa branch a couple years ago.
Does anyone see any obvious flaws in this apprach of building the
current tree for gfortran?
Jack
-------------------------------------------------------------------
Version: 20030825
Revision: 1
Source: ftp://ftp.cdc.noaa.gov/Public/jsw/fink/tree-ssa-%v.tar.bz2
Source-MD5: 23474a67435ae9bf4cc8e1191af3cb9a
NoSourceDirectory: True
Depends: gmp-shlibs
#BuildDepends: gmp, dejagnu
BuildDepends: gmp
NoSetCPPFLAGS: True
NoSetLDFLAGS: True
ConfigureParams: --enable-languages=f95 --infodir='${prefix}/share/info' --with-
gmp=%p
PatchScript: <<
#!/bin/sh
/bin/rm -rf gcc/libmudflap
cd gcc/gcc
mv Makefile.in Makefile.in.orig
sed 's|$(ALL_CPPFLAGS) $(INCLUDES)|$(INCLUDES) $(ALL_CPPFLAGS)|g' < Makefile.in
.orig > Makefile.in
/bin/rm -f Makefile.in.orig
<<
CompileScript: <<
#!/bin/sh
ulimit -S -s unlimited
mkdir darwin
cd darwin
../gcc/configure %c
make BOOT_CFLAGS="-O2 -g -fno-strict-aliasing" bootstrap
#cd gcc; make check-gfortran
<<
InstallScript: <<
#!/bin/sh
cd darwin
make install prefix=%i
cd %i/bin
ln -s %p/bin/gfortran f95
/bin/rm -f gcc gccbug cpp gcov powerpc-apple*
/bin/rm -rf %i/share/locale %i/man
/bin/rm -f %i/lib/charset.alias
/bin/rm -f %i/share/info/gcc* %i/share/info/cpp*
/bin/mv -f %i/lib/libiberty.a %i/lib/libiberty-gfortran.a
<<
License: GPL
DocFiles: gcc/gcc/fortran/README gcc/gcc/fortran/NEWS gcc/gcc/fortran/ChangeLog
gcc/gcc/fortran/BUGS gcc/gcc/fortran/TODO gcc/gcc/fortran/CONTRIB
Description: GNU Fortran 95 compiler
DescDetail: <<
The goal of the gcc-g95 project is to create a Free (as
in speech) Fortran 95 compiler. The code has been donated
to the Free Software Foundation for inclusion in GCC, the
GNU Compiler Collection.
from the README: WARNING:
G95 is still under development. Perusing the g77 source, we estimate
that about 200,000 lines of code will be necessary to fully implement
g95. Currently, G95 is about 70,000 lines long, making it about
version 0.3.
The current g95 can generate code for most legal Fortran 77 programs,
and we're getting close to being able to compile most Fortran 95
programs as well. The generated code may still be quite poor, however.
Part of this is a back-end issue, since we use the Work-In-Progress
tree-ssa infrastructure.
<<
Homepage: http://gcc-g95.sourceforge.net/
Maintainer: Jeffrey Whitaker <jswhit@fastmail.fm>
---------------------------------------------------------------------------