[poky] [PATCH 0/1] make c++ include path relative to --sysroot

Saul Wold saul.wold at intel.com
Mon Jan 3 17:17:15 PST 2011


On 12/30/2010 09:28 PM, Kevin Tian wrote:
> 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 at 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
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
Pulled into Master

  Thanks
    Sau!




More information about the poky mailing list