This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: newlib and glibc compatibility



On Fri, 12 Feb 1999, Brimhall, GeoffreyX L wrote:

> How close are newlib and glibc ? Is there any chance that at some point
> newlib will implement glibc and so be able to use it's headers ?

Ah, the annual question ;-) Newlib and glibc are *very* different. As for
Cygwin using glibc instead of newlib, it's not going to happen. Search the
mailing list for more info.

> This would help porting linux code based on glibc.

What is "Linux code based on glibc"? It's either POSIX (portable) or not
(non-portable); if it's portable, it's usually a simple port, other than
possibly working around newlib bugs and implementation limitations, and
various platform specific issues (file system layout, authentication
methods, so forth and so on).

People who write code that depends on glibc either know what they're doing
or/and deserve what they get.

Instead of trying to get glibc to work with Cygwin or vice-versa, a much
more productive approach is to contribute to fill in the missing pieces 
in newlib.

Regards,
Mumit