Results 1 to 4 of 4

Thread: Compiling GCC from source

  1. #1
    Join Date
    Jul 2008
    Location
    Inside the Cell B.E.
    Beans
    806
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Compiling GCC from source

    I'm having trouble compiling GCC 4.4

    http://gcc.releasenotes.org/snapshots/LATEST-4.4/

    I'm trying to compile a kernel with the latest bleeding edge version of GCC and it won't compile. I ran sudo apt-get build-dep gcc and I always get errors with ./configure so any help would be greatly appreciated.

  2. #2
    Join Date
    Jan 2007
    Location
    Melbourne, Australia
    Beans
    5,096

    Re: Compiling GCC from source

    What are the errors you are getting?
    Ubuntu Newbie Help: irc: #beginners-help on network irc.freenode.net
    Help others, mark your threads solved.

  3. #3
    Join Date
    Jul 2008
    Location
    Inside the Cell B.E.
    Beans
    806
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Compiling GCC from source

    I'm currently running this Hard Drive nuker right now so I can't get you that info ATM. It's so funny the latest version of gcc came out on my birthday.
    Last edited by Neo_The_User; March 9th, 2009 at 05:22 PM.

  4. #4
    Join Date
    Jul 2008
    Location
    Inside the Cell B.E.
    Beans
    806
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Compiling GCC from source

    Works now I fixed the tool chain problem myself.

    ***SOLVED***

    You can't just run build-dep gcc. You have to run build-dep gcc g++ libstdc++5 libstdc++6 and it works. This is why I love debian based distros. The build-dep command is just so handy at times like these. I am going to write a guide on compiling a kernel from source using gcc compiled from source when I am finished. It's going to be so fast when it's finished. Compiler flags for gcc and kernel set to i686! WOOO WHOOOO!!
    Last edited by Neo_The_User; March 9th, 2009 at 05:39 PM.

Bookmarks

Posting Permissions

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