mbed-os/tools/toolchains
Jimmy Brisson a5745cadd9 Use PATH env variable when gcc found in PATH
Resolves the github issue #3790: Blinky fails to build (on Mac) after
addition of linker script preprocessing feature. Paraphrasing, this
issue is that Homebrew on mac does not install `arm-none-eabi-gcc` in
the same location as `arm-none-eabi-cpp`, the C Pre-Processor. The tools
prior to this commit, and after turning on the pre-processing of the
linker-script will fail on any Mac homebrew installed toolchains.

This commit resolves the above issue by allowing the toolchain's path to
the executable to remain empty after a call to `check_executable`. When
this path is empty, the tools will search the PATH environment variable
for the executable.
2017-03-06 15:24:58 -06:00
..
__init__.py Remove GCC_CR 2017-02-16 15:03:24 -06:00
arm.py Add redirect support to toolchains 2017-02-08 17:34:35 -06:00
gcc.py Use PATH env variable when gcc found in PATH 2017-03-06 15:24:58 -06:00
iar.py Add redirect support to toolchains 2017-02-08 17:34:35 -06:00