From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32412 invoked by alias); 19 Jun 2009 16:15:02 -0000 Received: (qmail 32379 invoked by uid 22791); 19 Jun 2009 16:15:01 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp2f.orange.fr (HELO smtp2f.orange.fr) (80.12.242.151) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 19 Jun 2009 16:14:53 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2f08.orange.fr (SMTP Server) with ESMTP id B3F1B8000047; Fri, 19 Jun 2009 18:14:50 +0200 (CEST) Received: from r-lnx-leminkainen.bzh.lan (ARennes-252-1-45-39.w83-195.abo.wanadoo.fr [83.195.118.39]) by mwinf2f08.orange.fr (SMTP Server) with ESMTP id 989F080000A2; Fri, 19 Jun 2009 18:14:50 +0200 (CEST) From: "Yann E. MORIN" To: bartvdrmeulen@gmail.com Subject: Re: [patch 2/4] Only create sym-link from sysroot/lib directory when using syslink Date: Fri, 19 Jun 2009 16:15:00 -0000 User-Agent: KMail/1.9.9 Cc: crossgcc@sourceware.org References: <20090610101230.342741672@gmail.com> <20090610101230.342741672@gmail.com>> <20090610113222.553100012@gmail.com>> In-Reply-To: <20090610113222.553100012@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906191814.50232.yann.morin.1998@anciens.enib.fr> X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00037.txt.bz2 On Wednesday 10 June 2009 12:12:32 Bart vd. Meulen wrote: > The symbol link that is created in the sysroot directory only needs > to be made when the cross compiler is build with the sysroot option > > Signed-off-by: Bart van der Meulen > --- > scripts/crosstool-NG.sh.in | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > Index: crosstool-ng/scripts/crosstool-NG.sh.in > =================================================================== > --- crosstool-ng.orig/scripts/crosstool-NG.sh.in 2009-06-08 15:29:33.000000000 +0200 > +++ crosstool-ng/scripts/crosstool-NG.sh.in 2009-06-08 15:30:15.000000000 +0200 > @@ -280,8 +280,10 @@ if [ -z "${CT_RESTART}" ]; then > CT_DoExecLog ALL mkdir -p "${CT_SYSROOT_DIR}/lib" > CT_DoExecLog ALL mkdir -p "${CT_SYSROOT_DIR}/usr/lib" > > - # Prevent gcc from installing its libraries outside of the sys-root > - CT_DoExecLog ALL ln -sf "./${CT_SYSROOT_DIR_PREFIX}/sys-root/lib" "${CT_PREFIX_DIR}/${CT_TARGET}/lib" > + if [ "${CT_USE_SYSROOT}" = "y" ]; then > + # Prevent gcc from installing its libraries outside of the sys-root > + CT_DoExecLog ALL ln -sf "./${CT_SYSROOT_DIR_PREFIX}/sys-root/lib" "${CT_PREFIX_DIR}/${CT_TARGET}/lib" > + fi Applied as-is, thanks! Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +0/33 662376056 | Software Designer | \ / CAMPAIGN | ___ | | --==< ^_^ >==-- `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | `------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq