source code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • zorba

    #1

    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

  • Keith Thompson

    #2
    Re: source code

    "zorba" <psudhakarnaidu @gmail.comwrite s:
    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_Keit h) kst-u@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"

    Comment

    • napi

      #3
      Re: source code

      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_sourc e.tar.gz

      Napi


      Comment

      • Keith Thompson

        #4
        Re: source code

        "napi" <napi@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_sourc e.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_Keit h) kst-u@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"

        Comment

        • llothar

          #5
          Re: source code

          On 18 Mrz., 20:19, Keith Thompson <k...@mib.orgwr ote:
          "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_sourc e.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 $ */

          Comment

          • Keith Thompson

            #6
            Re: source code

            "llothar" <llothar@web.de writes:
            On 18 Mrz., 20:19, Keith Thompson <k...@mib.orgwr ote:
            >"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_sourc e.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_Keit h) kst-u@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"

            Comment

            • Roberto Waltman

              #7
              Re: source code

              Keith Thompson <kst-u@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:
              A tiny cross-platform compiler and toolchain suite for C, Pascal and other languages, originally made famous by Minix.


              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 ]

              Comment

              Working...