This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: getopt_long please


Shaun Jackman wrote:
Could newlib/libc/sys/linux/getopt1.c (getopt_long) be moved to
newlib/libc/stdlib/getopt1.c?


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]