This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: inet string functions
On 6/28/06, Jeff Johnston <jjohnstn@redhat.com> wrote:
Are such net functions generally useful to platforms that don't have
inet_addr and friends or is this something that Cygwin and RTEMS would
want to share?
These functions are useful to me because creating a libgloss for an
arbitrary system call interface, such as Linux, is straight forward,
whereas adding functions that are best provided by libc is more
difficult.
I continue to stress that if you add arm support to libc/sys/arm, such
functions are automatically provided and you don't have a piece-meal
solution that only supports an arbitrary subset of applications. We
already have the EL/IX standard.
I'm not sure I understand. Did you perhaps mean libc/sys/linux/machine/arm?
i386-pc-linux-newlib is a little odd in that it requires both Linux
headers and GNU libc headers to compile. I prefer arm-elf
(gloss-linux) because it stands on its own.
For a function that is system independent, such as inet_addr, I see no
reason why this function should have been added to a system specific
directory, sys/linux in this case, rather than a generic directory
that all targets can share.
Cheers,
Shaun