This is the mail archive of the gcc-patches@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]

Re: [Fortran - trunk, committed] Make libf2c a shared library.


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)


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