Hello Heinz,

On 01/01/2021 18:46, Heinz Junkes wrote:
Please excuse me if this question has already been answered. But unfortunately 
I have not been able to find a clear statement.

Why is RTEMS _XOPEN_SOURCE not set with a value when building a BSP with 
--enable-posix?

in the rtems-libbsd you can find a definition in some places.
z.B. in dhcpd/configure -D_XOPEN_SOURCE=700 and
in glibc-bugs.h #define _XOPEN_SOURCE 500
…

That seems a little unstructured to me. I'm sure there's an explanation why 
this is so complicated. But which value is the correct one e.g. for PowerPC and 
RTEMS 5.1?

the so called feature test macros should be defined by the application:

https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html

https://man7.org/linux/man-pages/man7/feature_test_macros.7.html

Which function is not defined in your setup?

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@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/

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to