All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Tian <kevin.tian@intel.com>
To: poky@pokylinux.org
Subject: [PATCH 0/1] make c++ include path relative to --sysroot
Date: Fri, 31 Dec 2010 13:28:01 +0800	[thread overview]
Message-ID: <b9dded$hh9bqm@orsmga002.jf.intel.com> (raw)

with this fix, now gcc installed from sstate packages can find c++ standard header
files correctly in the new build directory, e.g when building libproxy. There's
still one remaining issue in meta-toolchain part, that a complex c++ project 
compilation still fails being unable to find <algorithm>, if meta-toolchain is
installed in a location different from the default assumption.

Having said that, this patch doesn't break normal usage w/o causing regression.
I verified Sato build for qemuarm/qemuppc, and Lianhao helped verify qemumips 
and corresonding normal meta-toolchain usage. So it'd be good to get it merged
earlier to remove one more road blocker for sstate.

Thanks to RP for suggesting the solution here.

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: tk/cplusplus
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=tk/cplusplus

Thanks,
    Kevin Tian <kevin.tian@intel.com>
---


Kevin Tian (1):
  gcc-4.5.1: make c++ include path relative to "--sysroot"

 meta/recipes-devtools/gcc/gcc-4.5.1.inc            |    1 +
 .../GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch       |   33 ++++++++++++++++++++
 meta/recipes-devtools/gcc/gcc-configure-cross.inc  |    2 +-
 meta/recipes-devtools/gcc/gcc-configure-sdk.inc    |    2 +-
 .../gcc/gcc-cross-canadian_4.5.1.bb                |    2 +-
 .../gcc/gcc-cross-initial_4.5.1.bb                 |    2 +-
 .../gcc/gcc-cross-intermediate_4.5.1.bb            |    2 +-
 meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb       |    2 +-
 .../gcc/gcc-crosssdk-initial_4.5.1.bb              |    2 +-
 .../gcc/gcc-crosssdk-intermediate_4.5.1.bb         |    2 +-
 meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb    |    2 +-
 meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb     |    2 +-
 meta/recipes-devtools/gcc/gcc_4.5.1.bb             |    2 +-
 13 files changed, 45 insertions(+), 11 deletions(-)
 create mode 100644 meta/recipes-devtools/gcc/gcc-4.5.1/GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch



             reply	other threads:[~2010-12-31  5:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-31  5:28 Kevin Tian [this message]
2011-01-04  1:17 ` [PATCH 0/1] make c++ include path relative to --sysroot Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='b9dded$hh9bqm@orsmga002.jf.intel.com' \
    --to=kevin.tian@intel.com \
    --cc=poky@pokylinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.