rtems-libbsd: libc methods needed

Joel Sherrill joel.sherrill at OARcorp.com
Tue Jul 10 18:01:32 UTC 2012


Hi

I decided to hack on and use includes like
<freebsd/sys/socket.h> instead of <sys/socket.h>.
That is technically wrong but it let some user space
code compile.

This led me to the discovery that we have to
address libnetworking/libc. This is NOT part of the
FreeBSD code in the SVN checkout.

For now, I hacked a few routines from the old libc
code. But I think it needs automated import as well.

But we still have the problem that the .h files have
freebsd/ in front of their include paths even when
they are supposed to be OK from user space.  I am
wondering if it makes sense for the .h files that
are shared between kernel and user space to NOT
get the freebsd subdirectory prepended automatically.

Really hoping for some feedback.

-- 
Joel Sherrill, Ph.D.             Director of Research&   Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
     Support Available             (256) 722-9985





More information about the devel mailing list