This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH RFA: libstdc++ lives in src/.libs
- From: Ian Lance Taylor <iant at google dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 18 Oct 2010 13:08:21 -0700
- Subject: Re: PATCH RFA: libstdc++ lives in src/.libs
- References: <mcrwrpt4kzu.fsf@google.com>
Ping for build maintainers.
Ian
On Thu, Oct 7, 2010 at 4:54 PM, Ian Lance Taylor <iant@google.com> wrote:
> In the top level Makefile.def file, the lib_path of a target module
> gives the directory where the library can be found at run time. ?This is
> used to set LD_LIBRARY_PATH (or equivalent) when bootstrapping. ?The
> value for libstdc++-v3 is .libs, but actually the library is built in
> src/.libs. ?This patch corrects this error.
>
> Bootstrapped on x86_64-unknown-linux-gnu. ?Passed the libstdc++-v3 and
> g++ testsuites.
>
> OK for mainline?
>
> Ian
>
>
> 2010-10-07 ?Ian Lance Taylor ?<iant@google.com>
>
> ? ? ? ?* Makefile.def (target_modules): Set lib_path to src/.libs for
> ? ? ? ?libstdc++-v3 module.
> ? ? ? ?* Makefile.tpl: Fix typo in TARGET_LIB_PATH comment.
> ? ? ? ?* Makefile.in: Rebuild.
>
>
>
Index: Makefile.def
===================================================================
--- Makefile.def (revision 165058)
+++ Makefile.def (working copy)
@@ -149,7 +149,7 @@ host_modules= { module= lto-plugin; boot
target_modules = { module= libstdc++-v3;
bootstrap=true;
- lib_path=.libs;
+ lib_path=src/.libs;
raw_cxx=true; };
target_modules = { module= libmudflap; lib_path=.libs; };
target_modules = { module= libssp; lib_path=.libs; };
Index: Makefile.tpl
===================================================================
--- Makefile.tpl (revision 165058)
+++ Makefile.tpl (working copy)
@@ -513,7 +513,7 @@ all:
###
# This is the list of directories that may be needed in RPATH_ENVVAR
-# so that prorgams built for the target machine work.
+# so that programs built for the target machine work.
TARGET_LIB_PATH = [+ FOR target_modules +][+
IF lib_path +]$(TARGET_LIB_PATH_[+module+])[+ ENDIF lib_path +][+
ENDFOR target_modules +]$(HOST_LIB_PATH_gcc)