Hello !
I import the project created in KDS 1.1.1 to KDS 3.0.0.
In case of compilation of the project an error message "arm-none-eabi-gcc: error: unrecognized command line option '-nanolibc'". Flag "-nanolib" set in common.mak file.
What to use a flag of a linker instead of nanolib?
Thanks!
You need to remove -nanolibc use
-specs=nano.specs, either in the 'other linker flags' or use the checkbox below:
I hope this helps,
Erich
Oops...
arm-none-eabi-gcc: error: =nano.specs: No such file or directory
Can you post your complete console output (so it shows the full command line passed)?
Have you used
-specs=nano.specs
?
You can use as well
--specs=nano.specs
Erich
Thanks for Your help.
I write -specs=nano.specs -specs=nosys.specs.
I write in common.mak file -specs =nano.specs and -specs =nano.specs.
Еhe result is:
arm-none-eabi-gcc.exe: error: =nano.specs: No such file or directory
Now I use a flag -specs = nano.specs -specs = nosys.speсs.
The result is the same
arm-none-eabi-gcc: error: =nano.specs: No such file or directory
Maybe somewhere incorrectly specified path .
Do not change the common.mak file: use the linker panel as shown in my screenshot.
And I see that you have a space between specs and =nano.specs: that's your problem.
Erich
I noticed a "space". Thanks.
I don't use linker panel. All project setting are in a external makefile and common.mak files (I did not come up with it.).
At the moment, the project is compiled and build.
Later, I change the project settings using the standard project setting's.
Thank you very much for your help.
PS: Sorry for my English.
Thanks ! now I will test.