Trouble building newlib-1.8.0 for powerpc-eabi target on i386-pc-gnuwin32 host.

Doug Evans dje@cygnus.com
Wed Aug 6 13:49:00 GMT 1997


   Date: Wed, 6 Aug 1997 14:31:59 -0400
   From: Peter Barada <pbarada@wavemark.com>

   I'm trying to build for a powerpc, and I've just seen this myself. I
   would appreciate any help as well. I've grepeed throught he
   gcc-2.7.2.2 sources, and I can't find any mention of
   'relocatable-lib'. Anyone know what this option is supposed to do?

-mrelocatable-lib [and -mno-eabi] are in the current GCC development
tree but are not in 2.7.2.

Apply this patch to newlib/configure.in.

*** configure.in.~1~	Wed Aug  6 12:41:07 1997
--- configure.in	Wed Aug  6 12:41:31 1997
***************
*** 335,341 ****
    powerpc*-*-rtem* | \
    powerpc*-*-sysv* | \
    powerpc*-*-solaris*)
! 	target_cflags="${target_cflags} -mrelocatable-lib -mno-eabi -mstrict-align -DMISSING_SYSCALL_NAMES"
  	;;
    powerpcle-*-pe)
  	target_cflags="${target_cflags} -DHAVE_OPENDIR -DHAVE_RENAME"
--- 335,341 ----
    powerpc*-*-rtem* | \
    powerpc*-*-sysv* | \
    powerpc*-*-solaris*)
! 	target_cflags="${target_cflags} -mstrict-align -DMISSING_SYSCALL_NAMES"
  	;;
    powerpcle-*-pe)
  	target_cflags="${target_cflags} -DHAVE_OPENDIR -DHAVE_RENAME"



More information about the crossgcc mailing list