Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Oct 2005

    Compiling the GCC from nearly scratch...?

    OK, I am trying to help my friend on his computer that has Damn Small Linux installed on it. He's enabled APT and GNUBinutils.

    So he used apt-get to install gcc, but it's version 2.95.1 (I think, it's something before 3.0!).

    So I am trying to write a script that downloads and installs the following: GNU Tar, GNU Make, GNU Binutils, and GCC.

    I'm having a little trouble with the exact compilation of the GCC from source code...and the GLibC library needs to be upgraded, I'm guessing.

    So, here's the problem: 1) Can I compile ("directly") the latest version of the GCC without installing a 3.x version? 2) Are the directions to install the GCC simply "configure-make-make install"? 3) Do I have to upgrade the GLibC?
    "The Texan turned out to be good-natured, generous and likeable. In three days no one could stand him." Catch 22 by Joseph Heller.

    Buddies? I have no buddies...

    Give the BSD daemon some love (proud FreeBSD user)

  2. #2
    AO Curmudgeon rcgreen's Avatar
    Join Date
    Nov 2001
    Why not just edit sources.list to point to a repository
    that is known to have the latest version?
    I came in to the world with nothing. I still have most of it.

Similar Threads

  1. C compiling problems.
    By The_Messiah in forum General Programming Questions
    Replies: 9
    Last Post: April 9th, 2005, 07:23 PM
  2. Compiling Linux Exploit Code and Tools in Windows using Cygwin
    By Irongeek in forum The Security Tutorials Forum
    Replies: 4
    Last Post: August 2nd, 2004, 05:31 PM
  3. Problems with compiling
    By tyfon in forum AntiOnline's General Chit Chat
    Replies: 11
    Last Post: January 21st, 2004, 09:32 PM
  4. Linux kernel compiling
    By i2c in forum Other Tutorials Forum
    Replies: 5
    Last Post: September 20th, 2003, 01:32 PM
  5. AO "community project": build a (virtual) network from scratch
    By ammo in forum Site Feedback/Questions/Suggestions
    Replies: 19
    Last Post: November 11th, 2002, 08:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.