Re: Freestanding and Hosted implementations.

2014-12-06 Thread Joel Sherrill
On 12/06/2014 03:23 AM, Sebastian Huber wrote: On 12/05/2014 07:11 PM, Fernando Alberione wrote: Hello, I'm making a research about embbedded OS that are using C++ compilers. Particularly I need to know: 1) Are you using a freestanding or hosted implementation of the C++ library headers? I mea

Re: Freestanding and Hosted implementations.

2014-12-06 Thread Sebastian Huber
On 12/05/2014 07:11 PM, Fernando Alberione wrote: Hello, I'm making a research about embbedded OS that are using C++ compilers. Particularly I need to know: 1) Are you using a freestanding or hosted implementation of the C++ library headers? I mean, how do you define the macro __STDC_HOSTED__?

Re: Freestanding and Hosted implementations.

2014-12-05 Thread Gedare Bloom
Hosted. We use the libstdc++ built with gcc/g++, and for libc we use newlib. I'm not that familiar with limits on the C++ headers. For libc, see [1] which states support for "POSIX 1003.1b-1993, POSIX 1003.1h/D3, and Open Group Single UNIX Specification. Much of the POSIX API standard is actuall