[PATCH] Make libf2c a shared library fix for AIX and POSIX

Toon Moene toon@moene.indiv.nluug.nl
Thu Oct 11 13:14:00 GMT 2001


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)



More information about the Gcc-patches mailing list