Mon Nov 28 23:12:00 GMT 2005
Shaun Jackman wrote:
> Could newlib/libc/sys/linux/getopt1.c (getopt_long) be moved to
Unfortunately, no. getopt1.c is taken directly from glibc and is under
the LGPL license so it doesn't go into the shared newlib code.
> Likewise, could newlib/libc/sys/linux/getopt.c and
> newlib/libc/stdlib/getopt.c be merged and
> newlib/libc/sys/linux/getopt.c removed?
Again, no, this cannot be done for the same reason as above. If you
want to contribute a BSD-style licensed version of the functions, it
would be welcomed.
-- Jeff J.
More information about the Newlib