Peter,
For the features I need from gfortran, I'll need to be on the
4.1 branch. We should be testing that anyway since it is slated for
release in Sept. In any case, I am trying the following gfortran.info
at the moment...
----------------------------------------------------------------------
Package: gfortran
Version: 4.1
Revision: 20050723
Source: ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-%r/gcc-4.1-%r.tar.bz2
Source-MD5: ef6a0293c2d0fde7c444864582ccee16
NoSourceDirectory: True
Depends: gmp-shlibs
BuildDepends: gmp, dejagnu
NoSetCPPFLAGS: True
NoSetLDFLAGS: True
ConfigureParams: --enable-languages=f95 --infodir='${prefix}/share/info' --with-
gmp=%p `if test ! -f /usr/lib/libSystemStubs.a ; then echo -n "--with-as=%p/lib
/odcctools/bin/as --with-ld=%p/lib/odcctools/bin/ld" ; fi` --disable-checking --
with-included-gettext
PatchScript: <<
#!/bin/sh
/bin/rm -rf gcc-4.1-%r/libmudflap
cd gcc-4.1-%r/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-4.1-%r/configure %c
# make BOOT_CFLAGS="-O3 -g " bootstrap
make bootstrap
cd gcc-4.1-%r; 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 <[EMAIL PROTECTED]>
-------------------------------------------------------------------------
My first attempt with the "make BOOT_CFLAGS="-O3 -g " bootstrap" line
failed...
http://gcc.gnu.org/ml/fortran/2005-07/msg00407.html
Haven't figured out if the snapshot is broken our my info script is
flawed.
Jack
ps I have taken the old gfortran script and attempted to merge in the
changes needed to handle the libSystemStubs.a issue.
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel