linker option --specs unknown

Asked by Günter Fuchs

The readme.txt in the doc folder describes the linker option --specs= but it is unknown to it. How do I tell the linker that I want to link the small version of newlib?

I have a work-around by explicitly linking the library I want, but I wanted to at least point out what seems to be a discrepancy between arm-none-eabi-ld.exe and readme.txt.

Question information

Language:
English Edit question
Status:
Answered
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Joey Ye (jinyun-ye) said :
#1

The option is only recognized by gcc driver, ie, arm-none-eabi-gcc. It is
always recommended to use it rather than calling arm-none-eabi-ld directly.
On Apr 26, 2013 6:01 AM, "Günter Fuchs" <
<email address hidden>> wrote:

> New question #227481 on GCC ARM Embedded:
> https://answers.launchpad.net/gcc-arm-embedded/+question/227481
>
> The readme.txt in the doc folder describes the linker option --specs= but
> it is unknown to it. How do I tell the linker that I want to link the small
> version of newlib?
>
> I have a work-around by explicitly linking the library I want, but I
> wanted to at least point out what seems to be a discrepancy between
> arm-none-eabi-ld.exe and readme.txt.
>
> --
> You received this question notification because you are an answer
> contact for GCC ARM Embedded.
>

Can you help with this problem?

Provide an answer of your own, or ask Günter Fuchs for more information if necessary.

To post a message you must log in.