Talk:GNU C Library
|This is the talk page for discussing improvements to the GNU C Library article.
This is not a forum for general discussion of the article's subject.
|This article is of interest to the following WikiProjects:|
- 1 dicdef?
- 2 Covered by GPL?
- 3 Later today I plan to move this article
- 4 Alpha?
- 5 libc6 usage uncommon?
- 6 pronounce
- 7 what exactly was the linux libc5?
- 8 Todo
- 9 glibc initialism
- 10 Familiar a GNU/Linux distribution?
- 11 Improve history section with when major versions where released
- 12 standalone applications
- 13 Sun RPC code
- 14 When the support for Intel 386 was dropped?
isn't this really kind of more of a dicdef than an encyclopedic entry? Avriette 00:56, 25 Mar 2005 (UTC)
Covered by GPL?
Is this library licensed under the GPL? Is it, then, possible at all to compile and release proprietary programs under Linux using these standard C libraries, which I'm pretty sure are the only modern ones available under Linux? --I am not good at running 05:30, 12 May 2005 (UTC)
- LGPL. Entire properitary operating systems (BeOS, for instance) have used glibc as their main C library. Kiand 09:38, 12 May 2005 (UTC)
Later today I plan to move this article
- At that point why would you move the article? Why not just make your additional article name the redirect and save the troublesome redirect for the talk page? Janizary 07:24, 21 November 2005 (UTC)
- I'm not familiar with "the troublesome redirect for the talk page". My reason for moving the article was that the new title is correct and the old one is not. If titles didn't matter, each page would be refered to by number and would then have redirect aliases. One effect of the title is that it gets written in big letters across the top of the page. Gronky 15:51, 21 November 2005 (UTC)
libc6 usage uncommon?
The official Debian (and Ubuntu) package for glibc version 2 is 'libc6', which seems like a fairly major use... --Delirium 06:25, 16 March 2006 (UTC)
- Nah. The package may be named that, but glibc is pretty universally called glibc, not libc6, except to contrast it with the older libcs. A Debian package name may be major, but it's not common (if you get my drift). Maintaining this name is just clumsy, because glibc is not exclusive to Linux (and on other platforms there may not even be a "libc5") and it has its own version number. I think the Debian name remains for historical reasons. We wouldn't expect a "libc7" any time soon, after all, just newer versions of glibc. 188.8.131.52 08:32, 29 March 2006 (UTC)
- The story is told here: http://linuxmafia.com/faq/Licensing_and_Law/forking.html (about half way down, point #6) Gronky 10:30, 29 March 2006 (UTC)
- libc.so.6 is the standard soname of the gnu C library on linux. Debian names the binary package libc6 due to thier standard naming conventions for library packages (the source package is called glibc btw). I'm not sure what distros outside the debian family do. If and when there is ever a glibc 3.0 with backwards compatibility broken i supsect it will have a soname of libc.so.7 and a debian package name of libc7 but i don't see that happening in the near future. Plugwash
Glibc -- how do you pronounce this??
- I've always heard it pronounced as: "gee lib see" (soft 'g') Gronky 13:15, 15 June 2007 (UTC)
what exactly was the linux libc5?
anyone know any more about it? who wrote it? what license was it under? why did people preffer glibc? Plugwash 22:35, 7 June 2006 (UTC)
- libc5 was a fork of GNU libc by the Linux developers. They eventually gave up and went back to GNU libc. This is way GNU libc, even though it is still on version 2.4 is often called "libc6", as it superseded libc5. The story is in section 6 of Fear of forking. I'll add that link to the article. Gronky 22:52, 7 June 2006 (UTC)
- Add refs to the claims that it supports X, Y, and Z standards. Refs can almost certainly be found from the page liked to from here:
- History: there is probably a lot of glibc info in the old GNUs bulletins: 
Familiar a GNU/Linux distribution?
I would argue rather strongly against that description. OpenEmbedded (on which OM and Fam are based) does not require (and commonly) GNU tools at all. If you use the Qtopia/OPIE version then there is no glibc required either. We can't call a distribution GNU/Linux if its not based on GNU at all - no matter the argument. --Kim D. Petersen (talk) 17:12, 3 June 2008 (UTC)
- I think the confusion here comes from the GDE option (which is GNU based). Its an option for a PDA like interface - but its not the only one. The other is Qtopia/OPIE (which is not GNU based). You can't (afaik) build GDE on a non-glibc basis (ie with uClibc or others), but you can (and do) with OPIE. --Kim D. Petersen (talk) 17:19, 3 June 2008 (UTC)
Improve history section with when major versions where released
History section could be improved by adding major version numbers and the date they were released and perhaps a note about the major features in the new version. Daniel.Cardenas (talk) 17:32, 13 October 2008 (UTC)
I know that applications that run on Linux typically use glibc. But what about the Linux kernel itself? Does it use glibc? I've been told that glibc doesn't work for "standalone applications" such as the Linux kernel. I hear that "standalone applications" require a library that supports standalone applications, a library such as newlib. Is this true? Or a misconception common enough that this article needs to directly confront? --184.108.40.206 (talk) 13:58, 7 April 2009 (UTC)
- Thank you for the reference. It agrees that the Linux kernel does not directly call any function in the glibc library, although the Linux kernel does have the "Supporting OS subroutines required" for user applications that call functions in the glibc library.
- One more question: I see that the Linux kernel calls at least some C standard library functions and constants such as
INT_MAX-- search for "memcpy" in the Linux kernel, search for "tolower" in the Linux kernel, and search for "INT_MAX" in the Linux kernel.
- So what library implements those functions? --220.127.116.11 (talk) 07:20, 21 April 2009 (UTC)
- In kernelspace these functions are declared by specific kernel headers and implemented in specific kernel files; for memcpy at least Linux appears to implement them using machine-specific assembly files (if you look on the search page you linked, there's a section where there are a bunch of files include/asm/asm-$arch/string.h that declares the function, so presumably there's a string.s file with the assembly code.
Sun RPC code
Someone with more knowledge about this than me could maybe add this information/link to the article. Basically, glibc is really free software since August 18, 2010. --18.104.22.168 (talk) 23:01, 27 August 2010 (UTC)