By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,902 Members | 4,554 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,902 IT Pros & Developers. It's quick & easy.

source code

P: n/a
Hi ,

I would like to see the source of C library. gcc has glibc.so which
contains all the code of the C library Implementation.

How can i view the source code in web.
-Zorba

Mar 18 '07 #1
Share this Question
Share on Google+
6 Replies


P: n/a
"zorba" <ps************@gmail.comwrites:
I would like to see the source of C library. gcc has glibc.so which
contains all the code of the C library Implementation.

How can i view the source code in web.
There is no single C library implementation.

It's not correct that "gcc has glibc". gcc is a C compiler, and glibc
is a C library. They're often used together as part of a complete C
implementation, but gcc is also commonly used with other libraries.

If you're asking how to find the source code for glibc, search for
"glibc" in Google and follow the first link.

If you're asking about other C libraries, there's no one answer. Not
all vendors make their sources public at all.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Mar 19 '07 #2

P: n/a
On Mar 19, 6:29 am, "zorba" <psudhakarna...@gmail.comwrote:
Hi ,

I would like to see the source of C library. gcc has glibc.so which
contains all the code of the C library Implementation.

How can i view the source code in web.
You can download the C library source from our website
at: http://www.axiomsol.com/hedesu/fm/

The file name is: c_library_source.tar.gz

Napi
http://www.axiomsol.com

Mar 19 '07 #3

P: n/a
"napi" <na**@axiomsol.comwrites:
On Mar 19, 6:29 am, "zorba" <psudhakarna...@gmail.comwrote:
>Hi ,

I would like to see the source of C library. gcc has glibc.so which
contains all the code of the C library Implementation.

How can i view the source code in web.

You can download the C library source from our website
at: http://www.axiomsol.com/hedesu/fm/

The file name is: c_library_source.tar.gz
I took a quick look at it, and it does look like sources for *a* C
library implementation. I don't see any copyright messages, nor do I
see any of the headers. What implementation is this?

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Mar 19 '07 #4

P: n/a
On 18 Mrz., 20:19, Keith Thompson <k...@mib.orgwrote:
"napi" <n...@axiomsol.comwrites:
On Mar 19, 6:29 am, "zorba" <psudhakarna...@gmail.comwrote:
Hi ,
I would like to see the source of C library. gcc has glibc.so which
contains all the code of the C library Implementation.
How can i view the source code in web.
You can download the C library source from our website
at:http://www.axiomsol.com/hedesu/fm/
The file name is: c_library_source.tar.gz

I took a quick look at it, and it does look like sources for *a* C
library implementation. I don't see any copyright messages, nor do I
see any of the headers. What implementation is this?
You should look harder, it found in less then one minute the directory
"headers" where you can read:
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The
Netherlands.
* See the copyright notice in the ACK home directory, in the file
"Copyright".
*/
/* $Id: assert.h,v 1.5 1994/06/24 11:40:23 ceriel Exp $ */

Mar 19 '07 #5

P: n/a
"llothar" <ll*****@web.dewrites:
On 18 Mrz., 20:19, Keith Thompson <k...@mib.orgwrote:
>"napi" <n...@axiomsol.comwrites:
On Mar 19, 6:29 am, "zorba" <psudhakarna...@gmail.comwrote:
Hi ,
>I would like to see the source of C library. gcc has glibc.so which
contains all the code of the C library Implementation.
>How can i view the source code in web.
You can download the C library source from our website
at:http://www.axiomsol.com/hedesu/fm/
The file name is: c_library_source.tar.gz

I took a quick look at it, and it does look like sources for *a* C
library implementation. I don't see any copyright messages, nor do I
see any of the headers. What implementation is this?

You should look harder, it found in less then one minute the directory
"headers" where you can read:

* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The
Netherlands.
* See the copyright notice in the ACK home directory, in the file
"Copyright".
*/
/* $Id: assert.h,v 1.5 1994/06/24 11:40:23 ceriel Exp $ */
Well, I should have looked more carefully; I was looking in the wrong
directory. Never mind.

I'm still curious what platform this is meant for. It includes what
appears to be some assembly language that I don't recognize.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Mar 19 '07 #6

P: n/a
Keith Thompson <ks***@mib.orgwrote:
>...
I'm still curious what platform this is meant for. It includes what
appears to be some assembly language that I don't recognize.
The web page lists 15 different back-ends:
http://tack.sourceforge.net/#introduction

The Amsterdam Compiler Kit was used for the C compiler supplied with
Tanenbaum's Minix OS, so probably the x86 version was the one most
used. AFAIK, it uses a proprietary assembly language syntax.

Roberto Waltman

[ Please reply to the group,
return address is invalid ]
Mar 19 '07 #7

This discussion thread is closed

Replies have been disabled for this discussion.