[PATCH] PowerPC64 port part 2 of 7

Jakub Jelinek jakub@redhat.com
Mon Aug 19 12:51:00 GMT 2002


On Mon, Aug 19, 2002 at 01:53:03PM -0500, Steven Munroe wrote:
> *** 101,104 ****
> --- 102,110 ----
>   of all the other tools, of course).  See also ?excpt.
>   
> + ??powerpc64	Which compiler should I use for powerpc64?
> + 
> + {SM} You want to use at least gcc 3.1.1 (together with the right versions
> + of all the other tools, of course). 
> + 

I don't think it is good to promote gcc 3.1.1 as first version if gcc 3.0 
or 3.1 had no support for ppc64, as it is ABI incompatible with 3.2.
Writing 3.2 is IMHO much better.

>   Local Variables:
> diff -rc2PN -x *.orig libc23-cvstip-20020815/Makeconfig libc23/Makeconfig
> *** libc23-cvstip-20020815/Makeconfig	Tue Apr 30 17:00:46 2002
> --- libc23/Makeconfig	Thu Aug 15 16:54:50 2002
> ***************
> *** 667,671 ****
> --- 667,674 ----
>   libtype.os := lib%_pic.a
>   # This can be changed by a sysdep makefile
> + # PPC64 is always so gcc complains if you specify -fpic or -fPIC
> + ifneq (powerpc64,$(config-machine))
>   pic-ccflag = -fPIC
> + endif

This should go into arch specific Makefile, which would
pic-ccflag =

	Jakub



More information about the Libc-alpha mailing list