| Summary: | Installing a toolchain to a non-standard directory results in cross gcc with broken include path | ||
|---|---|---|---|
| Product: | [Runtime] Installation | Reporter: | Martin Kaiser <yocto> |
| Component: | Installation | Assignee: | Aníbal Limón <anibal.limon> |
| Status: | VERIFIED NOTABUG | QA Contact: | Alexandru Georgescu <alexandru.c.georgescu> |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | alexandru.c.georgescu, anibal.limon, kevin.tian, sgw |
| Version: | 1.7.1 | ||
| Target Milestone: | 1.8 M4 | ||
| Hardware: | x86 | ||
| OS: | arm | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Martin Kaiser
2015-02-20 17:40:29 UTC
The problem is about cc1plus that don't understand --sysroot option, cc1plus use -isysroot example, `$CC -print-prog-name=cc1plus` -isysroot /usr/local/poky-1.7.1/sysroots/armv5te-poky-linux-gnueabi -v But if you want to use the preprocessor i suggest you to use the $CPP enviroment variable that is set for sdk envscript. (In reply to comment #1) > The problem is about cc1plus that don't understand --sysroot option, cc1plus > use -isysroot example, > > `$CC -print-prog-name=cc1plus` -isysroot > /usr/local/poky-1.7.1/sysroots/armv5te-poky-linux-gnueabi -v > > But if you want to use the preprocessor i suggest you to use the $CPP > enviroment variable that is set for sdk envscript. Verified as per Anibal's comments. |