From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1RTXTK-0006Z4-Qj for openembedded-core@lists.openembedded.org; Thu, 24 Nov 2011 12:28:07 +0100 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id pAOBLYNo024015 for ; Thu, 24 Nov 2011 11:21:34 GMT Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23806-03 for ; Thu, 24 Nov 2011 11:21:29 +0000 (GMT) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id pAOBLQXE024009 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 24 Nov 2011 11:21:27 GMT Message-ID: <1322133692.24143.10.camel@ted> From: Richard Purdie To: Patches and discussions about the oe-core layer Date: Thu, 24 Nov 2011 11:21:32 +0000 In-Reply-To: References: X-Mailer: Evolution 3.2.1- Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Subject: Re: [PATCH 2/4] gcc-package-target.inc: add the symbol link /lib/cpp X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2011 11:28:07 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2011-11-24 at 18:08 +0800, Dexuan Cui wrote: > Signed-off-by: Dexuan Cui > --- > meta/recipes-devtools/gcc/gcc-4.6.inc | 2 +- > meta/recipes-devtools/gcc/gcc-package-target.inc | 2 ++ > 2 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc > index 7bf14e3..7cd0850 100644 > --- a/meta/recipes-devtools/gcc/gcc-4.6.inc > +++ b/meta/recipes-devtools/gcc/gcc-4.6.inc > @@ -1,6 +1,6 @@ > require gcc-common.inc > > -PR = "r17" > +PR = "r18" > > # Third digit in PV should be incremented after a minor release > # happens from this branch on gcc e.g. currently its 4.6.0 > diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc > index f0f1a04..3076670 100644 > --- a/meta/recipes-devtools/gcc/gcc-package-target.inc > +++ b/meta/recipes-devtools/gcc/gcc-package-target.inc > @@ -122,6 +122,8 @@ do_install () { > ln -sf ${TARGET_PREFIX}g++ g++ > ln -sf ${TARGET_PREFIX}gcc gcc > ln -sf ${TARGET_PREFIX}cpp cpp > + install -d ${D}${base_libdir} > + ln -sf ${bindir}/${TARGET_PREFIX}cpp ${D}${base_libdir}/cpp > ln -sf g++ c++ > ln -sf gcc cc Why do we need this change? Cheers, Richard