|
|
|
|
|
Re: Configuring Eclipse for cross compiling AD 2012 version ? [message #1844102 is a reply to message #1844064] |
Wed, 01 September 2021 12:03 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
Quote:For test proposes I did not specify the "prefix"
I suggest you
- open a command terminal
- place the path you used at the head of the system PATH
- type "gcc --version"
and see what you get.
There are actually two ways to invoke the cross-compiler from Eclipse:
I can do it with:
path: /opt/ARM/gcc-arm-none-eabi-10-2020-q4-major/bin
prefix: arm-none-eabi-
OR
path: /opt/ARM/gcc-arm-none-eabi-10-2020-q4-major/arm-none-eabi/bin
prefix: (none)
This may not work for all cross-compilers.
Using
path: /opt/ARM/gcc-arm-none-eabi-10-2020-q4-major/bin
prefix: (none)
Gets me the system /usr/bin/gcc because the cross-compiler in the path
is called arm-none-eabi-gcc
[Updated on: Wed, 01 September 2021 12:19] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04118 seconds