[PATCH 00/12] Support gcov instrumentation
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Jul 1 06:25:16 UTC 2022
On 01.07.22 08:22, Chris Johns wrote:
>>> I am encouraged by some of the generated code I have reviewed. I like what it
>>> does.
>>>
>>>>> I am a little lost with the difference between LIBRARY_OPTIMIZATION_FLAGS and
>>>>> OPTIMIZATION_FLAGS? RTEMS is always a library so what is difference between
>>>>> them? Are the OPTIMIZATION_FLAGS the "-O" ones and still something I can set
>>>>> from an INI file?
>>>> Currently the OPTIMIZATION_FLAGS are used for all code (code for libraries and
>>>> code for tests). With this change you can build the libraries with -O0 and the
>>>> tests with -O2 for example.
>>> Oh so if I understand this the LIBRARY_OPTIMIZATION_FLAGS are per library?
>> Not per library, the LIBRARY_OPTIMIZATION_FLAGS are used for all libraries in
>> bsps and cpukit.
> Is LIBRARY_OPTIMIZATION_FLAGS then a good choice? Would more direct naming like
> BSP_OPTIMIZATION_FLAGS and CPUKIT_OPTIMIZATION_FLAGS be better? If this was in
> the patch I would have understood exactly what they do.
The BSP is just a library: librtemsbsp.a. I can split
LIBRARY_OPTIMIZATION_FLAGS into BSP_OPTIMIZATION_FLAGS and
CPUKIT_OPTIMIZATION_FLAGS if this helps.
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the devel
mailing list