|
|
|
Re: Compiler changing problem [message #1819060 is a reply to message #1819054] |
Mon, 06 January 2020 21:45 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
You can do this by:
- if 4.5.3 is your system default (or is first in your execution path):
Go to Project --> Properties --> C/C++ Build -->Tool Chain Editor
and change "Cross GCC" to "Linux GCC" in the Current toolchain box
- OR keep the chain as "Cross GCC" but change the prefix to <path to 4.5.3>/bin/ (note the trailing slash) in
Project --> Properties --> C/C++ Build --> Settings --> Tool settings tab --> Cross Settings
When building, the Make recipe will call <path to 4.5.3>/bin/gcc for the compiler
In the example below it becomes /usr/bin/gcc
- OR keep the chain as "Cross GCC" but change the path to <path to 4.5.3>/bin
but this would be prepended to the execution path when Make is invoked
and may not be visible so would be difficult to show it being used.
[Updated on: Fri, 10 January 2020 11:20] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02828 seconds