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: fix for libf2c installation


>>>>>> "Manfred" == Manfred Hollstein <manfred@s-direktnet.de> writes:
>
> Manfred> It was the patch below. It's not fixing anything in Fortran
> Manfred> specific files, but in the toplevel files, which now pass
> Manfred> down the particular vars. Perhaps this is why you didn't
> Manfred> recognize it.
>
>Yes.  I think autoconf facilities are the right thing, but I'm not in
>charge.  Unlike the gcc directory, you can't now do `make install' in
>the libf2c one.

Dave raises a good point here.  Though libf2c's configure.in can't
elegantly intuit the appropriate information, perhaps it should
AC_SUBST it, which means the top-level configure would have to pass
it down there instead of later via the Makefile process.

That way, once configured, builds and installs would work from the
lower-level directory.  Personally, I'd love this.

Manfred, does this make sense?  Could you consider doing it if you
understand the relevant bits of top-level configure?  Feel free
to fix up the gcc, g77, and libf2c configure/Makefile stuff accordingly
(e.g. the gcc configure would have to substitute the $(libsubdir)
macro as well in the gcc Makefile it builds, right?).

        tq vm, (burley)


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