This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

darwin SDK support

This fixes a problem targetting older systems with the crt[23].o files
on powerpc-apple-darwin9, they have to be built as G3 binaries, not G4

2006-12-22  Mike Stump  <>

	* config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): Add

Doing diffs in config:
--- config/rs6000/t-darwin.~1~	2006-12-08 16:08:08.000000000 -0800
+++ config/rs6000/t-darwin	2006-12-22 20:07:22.000000000 -0800
@@ -8,7 +8,7 @@ LIB2FUNCS_STATIC_EXTRA = \
 	$(srcdir)/config/rs6000/darwin-vecsave.asm  \
+DARWIN_EXTRA_CRT_BUILD_CFLAGS = -mlongcall -mmacosx-version-min=10.4
 # The .asm files above are designed to run on all processors,
 # even though they use AltiVec instructions.  -Wa is used because
@@ -34,4 +34,5 @@ darwin-tramp.o:		$(srcdir)/config/rs6000
 $(T)crt2$(objext): $(srcdir)/config/darwin-crt2.c $(GCC_PASSES) \
 	$(TCONFIG_H) stmp-int-hdrs tsystem.h
 	  -c $(srcdir)/config/darwin-crt2.c -o $(T)crt2$(objext)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]