This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
All, I'm trying to build a i686-Linux to powerpc-aix4.3 cross-compiler. I have downloaded the tar balls for binutils, gcc, gdb and newlib. I ran the one-tree-1.6.sh script and then tried to build the cross-compiler by running the build-cross.sh script. I've had a few stumbling blocks along the way which I was able to solve, but I can't seem to get past this one. output from build-cross.sh -------------------------------------- -- snip -- make[1]: Entering directory `/home/johnm/cross-comp/b-powerpc-aix4.3/powerpc-aix4.3/libiberty' test x"no" != xyes || \ /home/johnm/cross-comp/b-powerpc-aix4.3/gcc/xgcc -B/home/johnm/cross-comp/b-powerpc-aix4.3/gcc/ -B/home/johnm/cross-comp/powerpc-aix4.3/bin/ -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include ../../../src/libiberty/choose-temp.c -o pic/choose-temp.o /home/johnm/cross-comp/b-powerpc-aix4.3/gcc/xgcc -B/home/johnm/cross-comp/b-powerpc-aix4.3/gcc/ -B/home/johnm/cross-comp/powerpc-aix4.3/bin/ -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include ../../../src/libiberty/choose-temp.c ../../../src/libiberty/choose-temp.c:29: stdio.h: No such file or directory ../../../src/libiberty/choose-temp.c:30: sys/types.h: No such file or directory ../../../src/libiberty/choose-temp.c:32: unistd.h: No such file or directory ../../../src/libiberty/choose-temp.c:35: stdlib.h: No such file or directory ../../../src/libiberty/choose-temp.c:38: sys/file.h: No such file or directory make[1]: *** [choose-temp.o] Error 1 make[1]: Leaving directory `/home/johnm/cross-comp/b-powerpc-aix4.3/powerpc-aix4.3/libiberty' make: *** [all-target-libiberty] Error 2 -------------------------------------- I'm assuming that the header files it's looking for are the ones that I copied from the AIX box. and placed in my '/home/johnm/cross-comp/powerpc-aix4.3/include/' directory. I don't understand why it can't find them. Looking at the config.log in the libiberty directory shows the following warnings and errors. -------------------------------------- -- snip -- configure:1826: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1798: checking for memchr configure:1826: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1798: checking for memcmp configure:1826: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1810: warning: conflicting types for built-in function `memcmp' configure:1798: checking for memcpy configure:1826: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1810: warning: conflicting types for built-in function `memcpy' configure:1798: checking for memmove configure:1826: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1798: checking for memset configure:1826: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1810: warning: conflicting types for built-in function `memset' configure:1798: checking for mkstemps configure:1826: gcc -o conftest -g -O2 conftest.c 1>&5 /tmp/ccU1DgyU.o: In function `main': /home/johnm/cross-comp/b-powerpc-aix4.3/libiberty/configure:1820: undefined reference to `mkstemps' collect2: ld returned 1 exit status configure: failed program was: #line 1803 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char mkstemps(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mkstemps(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_mkstemps) || defined (__stub___mkstemps) choke me #else mkstemps(); #endif ; return 0; } configure:1798: checking for putenv configure:1826: gcc -o conftest -g -O2 conftest.c 1>&5 -- snip -- configure:2212: checking for pid_t configure:2246: checking for vfork.h configure:2256: gcc -E conftest.c >/dev/null 2>conftest.out configure:2252: vfork.h: No such file or directory configure: failed program was: #line 2251 "configure" #include "confdefs.h" #include <vfork.h> configure:2281: checking for working vfork configure:2432: gcc -o conftest -g -O2 conftest.c 1>&5 configure:2459: checking for sys_errlist -- snip -- -------------------------------------- Can someone tell me what I'm missing or point me in the right direction so I can find it myself? TIA John ------ 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] |