This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

re: no makefiles found (created?) while cross-compiling libiberty



>hi,
>
>i'm cross-building i386-coff on an i686-linux system and
>managed to overcome
>the alignment bug and some other minor fixes...but now i saw this:

[SNIP]

>///////////////////////////////////////////////////////////////
>
>there are no Makefiles in these directories ;-(

    Something went wrong during the configure stage a bit earlier on in the
	build process.  Check back over the output you got from that stage, which
	you should be able to find by searching for a phrase like "Configuring in
	libiberty", and see if you can find any errors there.  Then post it here.


    DaveK







yuk! i took a further look, thx for hint:


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether the C compiler (/home/hansen/download/build_gcc/gcc/xgcc -B/home/hansen/download/build_gcc/gcc/ -B/bar/i386-coff/bin/ -g -O2 ) works... no

--------------------------------------------------------------

but that isn't kinda much, so here's libiberty/config.log:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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

configure:591: checking host system type
configure:614: checking build system type
configure:640: checking for i386-coff-ar
configure:672: checking for i386-coff-ranlib
configure:749: checking for gcc
configure:828: checking whether we are using GNU C
configure:837: /home/hansen/download/build_gcc/gcc/xgcc -B/home/hansen/download/build_gcc/gcc/ -B/bar/i386-coff/bin/ -E conftest.c
configure:852: checking whether /home/hansen/download/build_gcc/gcc/xgcc -B/home/hansen/download/build_gcc/gcc/ -B/bar/i386-coff/bin/ accepts -g
configure:881: checking for POSIXized ISC
configure:919: checking for a BSD compatible install
configure:980: checking how to run the C preprocessor
configure:1001: /home/hansen/download/build_gcc/gcc/xgcc -B/home/hansen/download/build_gcc/gcc/ -B/bar/i386-coff/bin/ -E  conftest.c >/dev/null 2>conftest.out
configure:1063: checking for sys/file.h
configure:1073: /home/hansen/download/build_gcc/gcc/xgcc -B/home/hansen/download/build_gcc/gcc/ -B/bar/i386-coff/bin/ -E  conftest.c >/dev/null 2>conftest.out
configure:1063: checking for sys/param.h
configure:1073: /home/hansen/download/build_gcc/gcc/xgcc -B/home/hansen/download/build_gcc/gcc/ -B/bar/i386-coff/bin/ -E  conftest.c >/dev/null 2>conftest.out
configure:1063: checking for stdlib.h
configure:1073: /home/hansen/download/build_gcc/gcc/xgcc -B/home/hansen/download/build_gcc/gcc/ -B/bar/i386-coff/bin/ -E  conftest.c >/dev/null 2>conftest.out
configure:1063: checking for string.h
configure:1073: /home/hansen/download/build_gcc/gcc/xgcc -B/home/hansen/download/build_gcc/gcc/ -B/bar/i386-coff/bin/ -E  conftest.c >/dev/null 2>conftest.out
configure:1063: checking for unistd.h
configure:1073: /home/hansen/download/build_gcc/gcc/xgcc -B/home/hansen/download/build_gcc/gcc/ -B/bar/i386-coff/bin/ -E  conftest.c >/dev/null 2>conftest.out
configure:1063: checking for strings.h
configure:1073: /home/hansen/download/build_gcc/gcc/xgcc -B/home/hansen/download/build_gcc/gcc/ -B/bar/i386-coff/bin/ -E  conftest.c >/dev/null 2>conftest.out
configure:1069: strings.h: No such file or directory
configure: failed program was:
#line 1068 "configure"
#include "confdefs.h"
#include <strings.h>
configure:1063: checking for sys/time.h
configure:1073: /home/hansen/download/build_gcc/gcc/xgcc -B/home/hansen/download/build_gcc/gcc/ -B/bar/i386-coff/bin/ -E  conftest.c >/dev/null 2>conftest.out
configure:1063: checking for sys/resource.h
configure:1073: /home/hansen/download/build_gcc/gcc/xgcc -B/home/hansen/download/build_gcc/gcc/ -B/bar/i386-coff/bin/ -E  conftest.c >/dev/null 2>conftest.out
configure:1069: sys/resource.h: No such file or directory
configure: failed program was:
#line 1068 "configure"
#include "confdefs.h"
#include <sys/resource.h>
configure:1100: checking for sys/wait.h that is POSIX.1 compatible
configure:1121: /home/hansen/download/build_gcc/gcc/xgcc -B/home/hansen/download/build_gcc/gcc/ -B/bar/i386-coff/bin/ -c -g -O2  conftest.c 1>&5
configure:1749: checking whether the C compiler (/home/hansen/download/build_gcc/gcc/xgcc -B/home/hansen/download/build_gcc/gcc/ -B/bar/i386-coff/bin/ -g -O2 ) works
configure:1765: /home/hansen/download/build_gcc/gcc/xgcc -B/home/hansen/download/build_gcc/gcc/ -B/bar/i386-coff/bin/ -o conftest -g -O2   conftest.c  1>&5
/bar/i386-coff/bin/ld: cannot open crt0.o: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:

#line 1760 "configure"
#include "confdefs.h"

main(){return(0);}

--------------------------------------------------------------

so problem is: i have no strings.h and no sys/resource.h, perhaps 'cause i
did:

mount the sco:/usr/include via nfs and do a:
../gcc-2.95.3/configure --target=$target --prefix=$prefix --with-headers=/sco_mount/usr/include -v

what did i miss ??
thx thx thx, this mailing-list is really da most responsive&helpful i've
known till now ;-)



"Vi has two modes; the one in which it beeps and the one in
which it doesn't."
         -- Alan Cox
------------------------------------
Florian Zimmermann
<http://www.0x17.org>
flo@0x17.de
-


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


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