This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Fortran - trunk, committed] Make libf2c a shared library.
- To: Alexandre Oliva <aoliva at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Subject: Re: [Fortran - trunk, committed] Make libf2c a shared library.
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Tue, 02 Oct 2001 18:58:37 +0200
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <3BB799D9.83B67DD1@moene.indiv.nluug.nl> <orlmiwfgkz.fsf@localhost.localdomain> <3BB7A701.D413C460@moene.indiv.nluug.nl> <or4rpkciw0.fsf@localhost.localdomain> <3BB8ECE0.47815B3C@moene.indiv.nluug.nl>
I wrote:
> Alexandre Oliva wrote:
>
> [ ... on .lo being the target of compilation in Makefile.in vs. .o ... ]
>
> > Nope, the Makefile dependencies would still be wrong, and would
> > trigger at the wrong times. Unless I'm mis-reading it.
> >
> > Remember that, if you configure --disable-static, libtool *won't*
> > create the .o files, only the .lo object-abstraction files and the PIC
> > object files inside .libs. So you want Makefile dependencies on .lo,
> > not .o.
>
> Do you think the following patch (attached) is the right approach ?
>
> It bootstraps (C and Fortran only) on i686-pc-linux-gnu both with an
> without --disable-static.
Well, I couldn't wait any longer, so I checked it in.
Kind regards,
--
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)