Posix API Headers (dirent.h etc)

Joel Sherrill joel.sherrill at oarcorp.com
Sun Feb 22 02:11:49 UTC 2015



On February 21, 2015 7:55:48 PM CST, bruce li <leilmyxwz at gmail.com> wrote:
>Hi, everyone,
>I read the Posix User Guide, which states that dirent.h is included.
>But I can't find the header in RTEMS (I compiled RTEMS with
>--enable-posix flag, the architecture is Sparc and bsp is Leon3). I
>think I'm missing something during configuration. How can I get access
>to the header in RTEMS?

It is provided with the C Library and installed when you built the tools.  Path should be something like ${prefix}/sparc-rtems4.11/include and it should be there with no special gcc command line options.

>Any help would be appreciated!
>_______________________________________________
>users mailing list
>users at rtems.org
>http://lists.rtems.org/mailman/listinfo/users

--joel



More information about the users mailing list