This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Make libf2c a shared library fix for AIX and POSIX
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: [PATCH] Make libf2c a shared library fix for AIX and POSIX
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Thu, 11 Oct 2001 21:39:56 +0200
- CC: Alexandre Oliva <aoliva at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <200110102200.SAA27990@makai.watson.ibm.com>
David Edelsohn wrote:
[ Sorry to be so slow at replying - I have been away for Monday-
Wednesday and last night only managed to *read* the 600 mails
awaiting me - not *do* anything with 'm ;-) ]
> Have you had a chance to look at the libf2c shared library problem
> of linking too many object files? This is a regression so it either needs
> to be fixed or it will be reverted.
Yep, I realised that - I was just hurrying to get it in before the
dreaded October 15 deadline ...
> I think the following patch basically is what is needed, although
> Alexandre needs to comment on whether this is correct libtool syntax. We
> could generate the library names from SUBDIRS using a GNU Make
> transformation, but we may not want to add another GNU Make dependency.
> The following patch fixes the problem on AIX.
If it bootstraps and checks OK, it's fine by me. I'll review the whole
thing later, when I have more time.
> * Makefile.in: Do not include SUBDIRS in objlist. Create
> libg2c.so from F2CEXT and SUBDIRS archives.
> * libF77/Makefile.in: Create archive.
> * libI77/Makefile.in: Same.
> * libU77/Makefile.in: Same.
OK. Note that I will be incomunicado for about a week starting Friday
12th of October 6 UTC.
--
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
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)