This is the mail archive of the 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: f2c configure fix

 > From: Richard Henderson <> 
 > On Sun, Mar 28, 1999 at 03:58:36AM -0700, Jeffrey A Law wrote:
 > >   In message <>you write:
 > > I ran into this problem myself today.  I'm going to commit this along with
 > > the "search the right subdirs" patch.
 > David Love has got a better patch, I think.  
 > r~

	There's a problem with whatever got checked in today.  It
shows itself on systems with complex multilibs like Irix6 (and
possibly others) that nest multilib combinations in deeper directory
levels.  Here's the error message:

 > checking f2c integer type... configure: error: Can't run check for
 > 	integer sizes -- see config.log
 > make[2]: *** [g2c.h] Error 1

	In this case building in mips-sgi-irix6.2/libf2c worked, but
in mips-sgi-irix6.2/mabi=64/libf2c failed.  Here's the tail of
config.log in that directory.

 > configure:1164: checking f2c integer type
 > configure:1191: /caip/u47/ghazi/gcc-testing/egcs-CVS19990328/gcc/xgcc
 > 	-B/caip/u47/ghazi/gcc-testing/egcs-CVS19990328/gcc/
 > 	-B/usr/local/mips-sgi-irix6.2/bin/ -c -g -DHAVE_CONFIG_H
 > 	-DIN_GCC -I../../gcc/f -I../../gcc -I../../include
 > 	-I../../gcc/config conftest.c 1>&5
 > configure:1185: com.h: No such file or directory
 > configure: failed program was:
 > #line 1182 "configure"
 > #include "confdefs.h"
 > #include "proj.h"
 > #include "com.h"
 > int main() {
 > ; return 0; }

	Based on some initial investigation, I would hazard a guess that
the -I flags uses to compile this test should be using
$topsrcdir, instead of using $srcdir or hardcoding "../..".  (In my case
builddir == srcdir.)  I based this conclusion on my examiniation of the
definition of $extra_includes in libf2c/ 

	All of this is preliminary, but I'm passing this along because I
won't be able to debug this further today. 

Kaveh R. Ghazi			Engagement Manager / Project Services		Qwest Internet Solutions

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