configure fails configuring i386-mingw32/libf2c

giacomo boffi giacomo.boffi@polimi.it
Fri Jun 29 16:16:00 GMT 2001


i'm hosted on a linux system, i have gcc-2.95.3 installed, and i'm
trying to build (in essence) i386-pc-mingw32-g77

i prepared the includes/libs

% cd $prefix ; tar xvzf ~/bin-crtdll-2000-02-03.tar.gz

i built and installed binutils, with

% ../binutils-2.9.1/configure --target=i386-mingw32
% make all install

and later i built and installed (mostly of) gcc

% ../gcc-2.95.3/configure --target=i386-mingw32 --enable-languages=f77,c++
% make all install

all went well (after some twiddling) so i tried to compile a test
fortran source, but the new g77 failed, as (the new) ld failed to find
libg2f.a

after inspection, i found that there was an almost empty
i386-mingw32/libf2c directory, with a config.log file that i include
below

it looks like that some headers aren't found by configure... it's
strange as the other libraries under i386-mingw32/ are built ok

here is the file, tia for your help

------------------------------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:562: checking if compiler f771 has been built
configure:593: checking for gcc
configure:706: checking whether the C compiler (/home/gb/src/crossutils/build-gcc/gcc/xgcc -B/home/gb/src/crossutils/build-gcc/gcc/ -B/usr/local/i386-mingw32/bin/ -g -O2 ) works
configure:722: /home/gb/src/crossutils/build-gcc/gcc/xgcc -B/home/gb/src/crossutils/build-gcc/gcc/ -B/usr/local/i386-mingw32/bin/ -o conftest -g -O2   conftest.c  1>&5
configure:748: checking whether the C compiler (/home/gb/src/crossutils/build-gcc/gcc/xgcc -B/home/gb/src/crossutils/build-gcc/gcc/ -B/usr/local/i386-mingw32/bin/ -g -O2 ) is a cross-compiler
configure:753: checking whether we are using GNU C
configure:762: /home/gb/src/crossutils/build-gcc/gcc/xgcc -B/home/gb/src/crossutils/build-gcc/gcc/ -B/usr/local/i386-mingw32/bin/ -E conftest.c
configure:781: checking whether /home/gb/src/crossutils/build-gcc/gcc/xgcc -B/home/gb/src/crossutils/build-gcc/gcc/ -B/usr/local/i386-mingw32/bin/ accepts -g
configure:861: checking for a BSD compatible install
configure:914: checking whether make sets ${MAKE}
configure:943: checking how to run the C preprocessor
configure:964: /home/gb/src/crossutils/build-gcc/gcc/xgcc -B/home/gb/src/crossutils/build-gcc/gcc/ -B/usr/local/i386-mingw32/bin/ -E  conftest.c >/dev/null 2>conftest.out
configure:1024: checking for stdio.h
configure:1034: /home/gb/src/crossutils/build-gcc/gcc/xgcc -B/home/gb/src/crossutils/build-gcc/gcc/ -B/usr/local/i386-mingw32/bin/ -E  conftest.c >/dev/null 2>conftest.out
configure:1065: checking f2c integer type
configure:1087: /home/gb/src/crossutils/build-gcc/gcc/xgcc -B/home/gb/src/crossutils/build-gcc/gcc/ -B/usr/local/i386-mingw32/bin/ -c -g -O2 -DHAVE_CONFIG_H -DIN_GCC -I../../../gcc-2.95.3/libf2c/../gcc/f -I../../../gcc-2.95.3/libf2c/../gcc -I../../../gcc-2.95.3/libf2c/../include -I../../../gcc-2.95.3/libf2c/../gcc/config -I/home/gb/src/crossutils/build-gcc/gcc  conftest.c 1>&5
In file included from ../../../gcc-2.95.3/libf2c/../gcc/f/system.j:25,
                 from ../../../gcc-2.95.3/libf2c/../gcc/f/proj.h:32,
                 from configure:1079:
../../../gcc-2.95.3/libf2c/../gcc/system.h:138: strings.h: No such file or directory
In file included from ../../../gcc-2.95.3/libf2c/../gcc/f/system.j:25,
                 from ../../../gcc-2.95.3/libf2c/../gcc/f/proj.h:32,
                 from configure:1079:
../../../gcc-2.95.3/libf2c/../gcc/system.h:158: sys/param.h: No such file or directory
In file included from ../../../gcc-2.95.3/libf2c/../gcc/f/system.j:25,
                 from ../../../gcc-2.95.3/libf2c/../gcc/f/proj.h:32,
                 from configure:1079:
../../../gcc-2.95.3/libf2c/../gcc/system.h:242: sys/wait.h: No such file or directory
configure: failed program was:
#line 1078 "configure"
#include "confdefs.h"
#include "proj.h"
#define FFECOM_DETERMINE_TYPES 1
#include "com.h"
int main() {

; return 0; }

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list