This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libf2c
- To: egcs at cygnus dot com
- Subject: Re: libf2c
- From: Dave Love <d dot love at dl dot ac dot uk>
- Date: 16 Feb 1998 22:20:57 +0000
- References: <2826.887589212@hurl.cygnus.com>
>>>>> "Jeff" == Jeffrey A Law <law@hurl.cygnus.com> writes:
>> Configuring in libraries/libf2c
>> loading site script /usr/local/share/config.site
>> loading cache /usr/local/var/config.cache
>> checking for gcc... (cached) gcc
Jeff> I suspect it's because either config.site or config.cache has a
Jeff> specification for what compiler to use...
Indeed, but it shouldn't be allowed to bite. (config.site is straight
from the autoconf manual, not that I think that DTRT; I think I
changed my former effort for purposes of testing like this.)
I followed the build process better this time :-). This is what the
old f/runtime used to do.
1998-02-16 Dave Love <d.love@dl.ac.uk>
* Makefile.in ($(CONFIGURE_TARGET_MODULES)): Run configure with
CONFIG_SITE=/dev/null to forestall lossage with site configuration.
Index: Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/Makefile.in,v
retrieving revision 1.14
diff -u -p -c -r1.14 Makefile.in
diff: conflicting specifications of output style
*** Makefile.in 1998/02/01 01:41:23 1.14
--- Makefile.in 1998/02/16 22:08:15
*************** $(CONFIGURE_TARGET_MODULES):
*** 1170,1180 ****
libsrcdir="$$s/$${dir}"; \
fi; \
if [ -f $${libsrcdir}/configure ] ; then \
! $(SHELL) $${libsrcdir}/configure \
$(CONFIG_ARGUMENTS) $${srcdiroption} \
--with-target-subdir="$(TARGET_SUBDIR)"; \
else \
! $(SHELL) $$s/configure \
$(CONFIG_ARGUMENTS) $${srcdiroption} \
--with-target-subdir="$(TARGET_SUBDIR)"; \
fi; \
--- 1170,1180 ----
libsrcdir="$$s/$${dir}"; \
fi; \
if [ -f $${libsrcdir}/configure ] ; then \
! CONFIG_SITE=/dev/null $(SHELL) $${libsrcdir}/configure \
$(CONFIG_ARGUMENTS) $${srcdiroption} \
--with-target-subdir="$(TARGET_SUBDIR)"; \
else \
! CONFIG_SITE=/dev/null $(SHELL) $$s/configure \
$(CONFIG_ARGUMENTS) $${srcdiroption} \
--with-target-subdir="$(TARGET_SUBDIR)"; \
fi; \