This is the mail archive of the gcc-patches@gcc.gnu.org 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]

Suggested patch for PR32010


I don't know if this is correct in theory or practice, but it fixes the bootstrap error I had when building 4.2.0 on powerpc64-apple- darwin-8.9.0 (PR32010).

Brad

	* install.texi (powerpc64-*-darwin*): Document need for
	BOOT_LDFLAGS='-Wl,-search_paths_first' when running make.

[brad:~/Desktop/crap-gcc] lucier% rcsdiff -u install.texi
===================================================================
RCS file: RCS/install.texi,v
retrieving revision 1.1
diff -u -r1.1 install.texi
--- install.texi        2007/05/26 20:44:51     1.1
+++ install.texi        2007/05/26 20:58:46
@@ -2415,6 +2415,8 @@
@item
@uref{#powerpc-x-darwin,,powerpc-*-darwin*}
@item
+@uref{#powerpc64-x-darwin,,powerpc64-*-darwin*}
+@item
@uref{#powerpc-x-elf,,powerpc-*-elf, powerpc-*-sysv4}
@item
@uref{#powerpc-x-linux-gnu,,powerpc*-*-linux-gnu*}
@@ -3637,6 +3639,17 @@
@html
<hr />
@end html
+@heading @anchor{powerpc64-x-darwin}powerpc64-*-darwin*
+PowerPC (64-bit) running Darwin (Mac OS X kernel).
+
+One must add @option{BOOT_LDFLAGS='-Wl,-search_paths_first'} to
+@command{make} when building GCC with the Java language enabled,
+so that @command{ld} finds the newly-built 64-bit @file{zlib.a}
+instead of the 32-bit system @file{zlib.a}.
+
+@html
+<hr />
+@end html
@heading @anchor{powerpc-x-elf}powerpc-*-elf, powerpc-*-sysv4
PowerPC system in big endian mode, running System V.4.


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