EMbitz
default specs - Printable Version

+- EMbitz (https://www.embitz.org/forum)
+-- Forum: EmBitz (https://www.embitz.org/forum/forum-1.html)
+--- Forum: ARM GCC toolchain (https://www.embitz.org/forum/forum-4.html)
+--- Thread: default specs (/thread-4.html)



default specs - AVI-crak - 30-04-2020

When connecting a new version of GCC, an error appears - the default.specs file is missing.
This is a specification file, it allows you to use the libraries available in GCC - in all new and old user projects. On top of the main configuration files.
It turned out like this:

Code:
%rename link_gcc_c_sequence                def_link_gcc_c_sequence

*def_libc:
-lc

*def_libgloss:
%{specs=rdimon.specs:-lrdimon} %{specs=ebmon.specs:-lebmon} -lnosys

*link_gcc_c_sequence:
%(def_link_gcc_c_sequence) --start-group %G %(def_libc) %(def_libgloss) --end-group

How to use GCC 100%?


RE: default specs - embitz - 07-05-2020

You could specify them on the linker options tab in the "Others" list.


RE: default specs - AVI-crak - 29-03-2021

Connected new gcc-arm-none-eabi-10-2020-q4-major. Traditionally, it swears at default.specs, and now also at ebmon.specs.
From the new - the terrible intolerance of a double announcement. Where it was possible before, now it is impossible.
The size of the binary has decreased by a couple of bytes, and it's not even clear where.
And the main thing is that the compiler now sees the boundaries of the arrays !!! When you go beyond the boundaries of the array, a weak (blue) warning pops up !!!
I'm only interested in one thing - where is the default.specs required, and how to disable it permanently.