Wind River Support Network

HomeDefectsLIN7-6378
Fixed

LIN7-6378 : powerpc-nf and ppc476-nf SDK toolchains on windows (mingw) may fail to load environment file

Created: Jun 8, 2016    Updated: Aug 20, 2016
Resolved Date: Aug 16, 2016
Found In Version: 7.0.0.0.LB16
Fix Version: 7.0.0.18
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Toolchain
Host OS: Windows 7
Architecture: PowerPC

Description

When loading the environment-setup-powerpc-nf-linux.bat or environment-setup-ppc476-nf-linux.bat file, an error may occur similar to:

Error:

export CPLUS_INCLUDE_PATH="\sysroots\ppc476-nf-linux\usr\include\c++\4.9.1\powerpc-windriverppc476nf-linux"

'export' is not recognized as an internal or external command,

operable program or batch file.

Workaround

Edit the environment-setup-*.bat file, and change the line:

export CPLUS_INCLUDE_PATH="\sysroots\powerpc-nf-linux\usr\include\c++\4.9.1\powerpc-windrivernf-linux"

-------------------

Apply attached patch to wr-sdk-toolchain layer.
to

set CPLUS_INCLUDE_PATH=%SDKROOT%sysroots\powerpc-nf-linux\usr\include\c++\4.9.1\powerpc-windrivernf-linux

(be sure the path after the 'sysroots' remains the same before and after the workaround)

Steps to Reproduce

Build a Windows (mingw32) SDK for power-nf or ppc476-nf.

Install the SDK, and then run the environment batch file.

Other Downloads


Live chat
Online