Question regarding newlib/libgloss

Andrei Zisu Andrei.Zisu at pts.space
Tue Oct 15 11:23:43 UTC 2019


Hi,

Thank you all for the comprehensive explanations

>> On 15 Oct 2019, at 07:51, Sebastian Huber <sebastian.huber at embedded-brains.de> wrote:
>> 
>> Hello Andrei,
>> 
>>>> On 14/10/2019 14:13, Andrei Zisu wrote:
>>> I am currently learning about how RSB builds the toolchain.
>>> Although this isn't my question to the list, for context, I am looking at to reusing the rtems toolchain for other non-rtems-based targets we have.
>> 
>> you have to be careful when you use Newlib/GCC configured for RTEMS for other systems. For example RTEMS provides its own GCC thread model and Newlib lock implementation.

In this particular case it would be for single threaded targets, so I believe it wouldn't represent a problem.

But all these restrictions that one needs to be aware of when building with the RTEMS toolchain make me think it can lead to programmer error.

So I guess ultimately it's not the best idea, although it would be very convenient.
> 
> 
>> -- 
>> Sebastian Huber, embedded brains GmbH
>> 
>> Address : Dornierstr. 4, D-82178 Puchheim, Germany
>> Phone   : +49 89 189 47 41-16
>> Fax     : +49 89 189 47 41-09
>> E-Mail  : sebastian.huber at embedded-brains.de
>> PGP     : Public key available on request.
>> 
>> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>> 


More information about the devel mailing list