public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* cross-compile for rs6000 on powerpc problems
@ 2001-02-26 12:34 greghb Last Name
  0 siblings, 0 replies; only message in thread
From: greghb Last Name @ 2001-02-26 12:34 UTC (permalink / raw)
  To: gcc-help

I am trying to cross-compile gcc (c and c++) on an ibm powerpc box for a ibm rs6000 box. Both are running AIX 4.3.3.

I am able to bootstrap gcc for host machine powerpc-ibm-aix4.3.3.0 using vac and not gnu-as or gnu-ld. I then copy the header files and libs from the target rs6000 machine to the host machine.

After configuring to use gcc, I then issue: make cross

Problems occur during the testing of libgcc1, see below. Any ideas on how to resolve the symbols.
-Greg
 
(I have shortened some of the paths for clarity)

gcc/xgcc -Bfoo/gcc/ -B/usr/local/rs6000-ibm-aix4.3.3.0/bin/ -I/usr/local/rs6000-ibm-aix4.3.3.0/include -DCROSS_COMPILE -DIN_GCC -DHAIFA    -O -I./include     -c ../../gcc-2.95.2/gcc/libgcc1-test.c
../../gcc-2.95.2/gcc/libgcc1-test.c:101: warning: conflicting types for built-in function `memcpy'
Testing libgcc1.  Ignore linker warning messages.
gcc/xgcc -Bfoo/ -B/usr/local/rs6000-ibm-aix4.3.3.0/bin/ -I/usr/local/rs6000-ibm-aix4.3.3.0/include -DCROSS_COMPILE -DIN_GCC -DHAIFA    -O -I./include  libgcc1-test.o -o libgcc1-test \
  -nostartfiles -nostdlib `gcc/xgcc -Bfoo/ -B/usr/local/rs6000-ibm-aix4.3.3.0/bin/ -I/usr/local/rs6000-ibm-aix4.3.3.0/include --print-libgcc-file-name`
ld: 0711-317 ERROR: Undefined symbol: ._savef27
ld: 0711-317 ERROR: Undefined symbol: __quoss
ld: 0711-317 ERROR: Undefined symbol: __divss
ld: 0711-317 ERROR: Undefined symbol: __quous
ld: 0711-317 ERROR: Undefined symbol: __divus
ld: 0711-317 ERROR: Undefined symbol: .__itrunc
ld: 0711-317 ERROR: Undefined symbol: ._restf27
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make[1]: *** [libgcc1-test] Error 1
make[1]: Leaving directory gcc'
make: *** [cross] Error 2





------------------------------------------------------------
--== Sent via Deja.com ==--
http://www.deja.com/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-02-26 12:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-26 12:34 cross-compile for rs6000 on powerpc problems greghb Last Name

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).