This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: updating libtool, etc.



On 01/07/2005, at 7:43 AM, Kelley Cook wrote:


Does anyone mind if I update libtool to the latest released version, 1.5.18, and regenerate everything with automake 1.9.5?


Sounds great if you can get it to work.

I actually have this completely working for the GCC part of the tree, I think. Unfortunately, that leaves all of src.


The main problem I had then, was that the then current libtool did not know anything about fortran 95, which promptly blew up.

I dealt with that by putting this in libgfortran/configure.ac:


Index: configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/libgfortran/configure.ac,v
retrieving revision 1.30
diff -u -p -u -p -r1.30 configure.ac
--- configure.ac        24 Jun 2005 23:07:13 -0000      1.30
+++ configure.ac        1 Jul 2005 17:18:19 -0000
@@ -134,6 +134,11 @@ AC_SUBST(enable_shared)
AC_SUBST(enable_static)
#AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
+# We're using libtool-1.5, which doesn't actually support F9x, but
+# we can pretend enough for this to build.
+AC_DEFUN([LT_SUPPORTED_TAG], [])
+LT_SUPPORTED_TAG([C])
+LT_SUPPORTED_TAG([FC])
# We need gfortran to compile parts of the library
# We can't use AC_PROG_FC because it expects a fully working gfortran.
#AC_PROG_FC(gfortran)

You do get a warning message about 'tag FC not known', but the compilation proceeds.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]