[oi-dev] gcc 5.3 testing
Alexander Pyhalov
alp at rsu.ru
Thu May 12 10:40:52 UTC 2016
On 05/12/2016 00:01, Aurélien Larcher wrote:
> I thought that -Y and -R that I added to the arch spec would take care of that. Is -L also needed ?
>
Seems so. Adding -L makes things better.
--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department
-------------- next part --------------
--- ./gcc/config/sol2.h.orig 2016-05-08 21:13:10.810423614 +0200
+++ ./gcc/config/sol2.h 2016-05-08 21:16:55.681535743 +0200
@@ -195,8 +195,8 @@
"%{G:-G} \
%{YP,*} \
%{R*} \
- %{!YP,*:%{p|pg:-Y P,%R/usr/lib/libp%R/lib:%R/usr/lib} \
- %{!p:%{!pg:-Y P,%R/lib:%R/usr/lib}}}"
+ %{!YP,*:%{p|pg:-Y P,%R/usr/gcc/5.3/lib:%R/lib:%R/usr/lib -R %R/usr/gcc/5.3/lib -L %R/usr/gcc/5.3/lib} \
+ %{!p:%{!pg:-Y P,%R/usr/gcc/5.3/lib:%R/lib:%R/usr/lib -R %R/usr/gcc/5.3/lib -L %R/usr/gcc/5.3/lib}}}"
#undef LINK_ARCH32_SPEC
#define LINK_ARCH32_SPEC LINK_ARCH32_SPEC_BASE
@@ -208,8 +208,8 @@
"%{G:-G} \
%{YP,*} \
%{R*} \
- %{!YP,*:%{p|pg:-Y P,%R/usr/lib/libp/" ARCH64_SUBDIR ":%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "} \
- %{!p:%{!pg:-Y P,%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "}}}"
+ %{!YP,*:%{p|pg:-Y P,%R/usr/gcc/5.3/lib/" ARCH64_SUBDIR ":%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR " -R %R/usr/gcc/5.3/lib/" ARCH64_SUBDIR " -L %R/usr/gcc/5.3/lib/" ARCH64_SUBDIR "} \
+ %{!p:%{!pg:-Y P,%R/usr/gcc/5.3/lib/" ARCH64_SUBDIR ":%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR " -R %R/usr/gcc/5.3/lib/" ARCH64_SUBDIR " -L %R/usr/gcc/5.3/lib/" ARCH64_SUBDIR "}}}"
#undef LINK_ARCH64_SPEC
#ifndef USE_GLD
More information about the oi-dev
mailing list