473,386 Members | 1,758 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

source code

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
6 1430
"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
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
"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
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
"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Tim Zhao | last post by:
I downloaded the PHP 5 source code from www.php.net web site. It is a tar compressed file. I used WinZip to unzip it. Now I got a whole bunch of files. But I do not know to read these files. Do...
9
by: FISH | last post by:
Ever have one of those days when you're not sure if it's you who's gone mad, or the rest of the world? I have an Open Source project on SourceForge for communication with YSMG - Yahoo's IM...
115
by: TheAd | last post by:
At this moment I use MsAccess and i can build about every databound application i want. Who knows about a serious open source alternative? Because Windows will be a client platform for some time, i...
4
by: kj | last post by:
I consider myself quite proficient in C and a few other programming languages, but I have never succeeded in understanding a largish program (such as zsh or ncurses) at the source level. ...
15
by: Fady Anwar | last post by:
Hi while browsing the net i noticed that there is sites publishing some software that claim that it can decompile .net applications i didn't bleave it in fact but after trying it i was surprised...
8
by: Alvo von Cossel I | last post by:
hey everybody, I have written a great browser but it is missing a feature (quite a lot actually, but forget about them for now). that feature just so happens to be the View > Source function....
7
by: Tina | last post by:
In 1.1 I used to use a WebControlLibrary to hold code I didn't want to expose when I distributed a component. The code would compile to a separate dll and could not be viewed when used in a vs.net...
66
by: Jon Skeet [C# MVP] | last post by:
I'm sure the net will be buzzing with this news fairly soon, but just in case anyone hasn't seen it yet: Microsoft are going to make the source code for the .NET framework (parts of it,...
4
by: Spizzat2 | last post by:
I'm trying to figure out a workaround to a minor annoyance that I'm coming up with while coding a site. I've got some keyboard shortcuts set up for the site via javascript, and when I press escape,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.