Index: gcc/gcc/config/rs6000/aix43.h |
diff --git a/gcc/gcc/config/rs6000/aix43.h b/gcc/gcc/config/rs6000/aix43.h |
index 56b24a363c62cbf557b335b863e3a04b8843f61f..bbe23373060645858c2058a5fbad2ce5e94c6e17 100644 |
--- a/gcc/gcc/config/rs6000/aix43.h |
+++ b/gcc/gcc/config/rs6000/aix43.h |
@@ -104,7 +104,7 @@ do { \ |
#define CPP_SPEC "%{posix: -D_POSIX_SOURCE}\ |
%{ansi: -D_ANSI_C_SOURCE}\ |
%{maix64: -D__64BIT__}\ |
- %{mpe: -I/usr/lpp/ppe.poe/include}\ |
+ %{mpe: -I%R/usr/lpp/ppe.poe/include}\ |
%{pthread: -D_THREAD_SAFE}" |
/* The GNU C++ standard library requires that these macros be |
@@ -113,7 +113,7 @@ do { \ |
#define CPLUSPLUS_CPP_SPEC \ |
"-D_ALL_SOURCE \ |
%{maix64: -D__64BIT__} \ |
- %{mpe: -I/usr/lpp/ppe.poe/include} \ |
+ %{mpe: -I%R/usr/lpp/ppe.poe/include} \ |
%{pthread: -D_THREAD_SAFE}" |
#undef TARGET_DEFAULT |
@@ -141,11 +141,11 @@ do { \ |
#define MULTILIB_DEFAULTS { "mcpu=common" } |
#undef LIB_SPEC |
-#define LIB_SPEC "%{pg:-L/lib/profiled -L/usr/lib/profiled}\ |
- %{p:-L/lib/profiled -L/usr/lib/profiled}\ |
+#define LIB_SPEC "%{pg:-L%R/lib/profiled -L%R/usr/lib/profiled}\ |
+ %{p:-L%R/lib/profiled -L%R/usr/lib/profiled}\ |
%{!maix64:%{!shared:%{g*:-lg}}}\ |
- %{mpe:-L/usr/lpp/ppe.poe/lib -lmpi -lvtd}\ |
- %{pthread:-L/usr/lib/threads -lpthreads -lc_r /usr/lib/libc.a}\ |
+ %{mpe:-L%R/usr/lpp/ppe.poe/lib -lmpi -lvtd}\ |
+ %{pthread:-L%R/usr/lib/threads -lpthreads -lc_r %R/usr/lib/libc.a}\ |
%{!pthread:-lc}" |
#undef LINK_SPEC |
@@ -187,3 +187,5 @@ do { \ |
/* This target uses the aix64.opt file. */ |
#define TARGET_USES_AIX64_OPT 1 |
+ |
+#define TARGET_AIX_VERSION 43 |