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]

Question on building cross-compiler i686-pc-cygwin32 to powerpc-vtx-aix


Hi there

I'm trying to build a cross compiler for:
host system type... i686-pc-cygwin32
target system type... powerpc-vtx-aix

I have built binutils-2.9.1 and newlib-1.8.2 successfully for this
target. However building gcc-2.95.2 fails with these errors:

libgcc1-test.o: In function `main_without__main':
./libgcc1-test.c:13: undefined reference to `_savef28'
./libgcc1-test.c:20: undefined reference to `__quoss'
./libgcc1-test.c:21: undefined reference to `__divss'
./libgcc1-test.c:23: undefined reference to `__quous'
./libgcc1-test.c:24: undefined reference to `__divus'
./libgcc1-test.c:44: undefined reference to `__itrunc'
./libgcc1-test.c:45: undefined reference to `__itrunc'
./libgcc1-test.c:66: undefined reference to `_restf28'
collect2: ld returned 1 exit status
make[1]: *** [libgcc1-test] Error 1
make[1]: Leaving directory
`//c/Cygwin-1.0/source/GNU/gcc-2.95.2/gcc'
make: *** [all-gcc] Error 2

I am trying to build it using the lines:
configure --prefix=/usr/local --target=powerpc-vtx-aix --with-newlib
--with-gnu-as --with-gun-ld --without-headers

make CFLAGS="-O" LANGUAGES="c" all install

Please can anyone give me any pointers as to where I'm going wrong
or what I'm missing.
Thank you in advance

Emma

------
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]