Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Help:Installing gcc compiler on linux

  • 10-10-2008 06:20PM
    #1
    Registered Users, Registered Users 2 Posts: 110 ✭✭


    Hi,

    I am trying to get an older version of gcc compiler, gcc-3.4.6, on my linux sytem.
    My problem is when I try to run the configure script I get errors:
    "*** The command '/usr/bin/gcc -o conftest -g -O2 conftest.c' failed.
    *** You must set the environment variable CC to a working compiler."

    Anybody know of a step by step guide to installing a package from source code or have a solution to my problem.

    Thanks!


Comments

  • Registered Users, Registered Users 2, Paid Member Posts: 3,519 ✭✭✭ethernet


    Hmm, would you not need a compiler to compile another compiler from source?

    It's easiest to install from your distro's repos. Depending on your distro, look for gcc, build-essentials or similar.


  • Registered Users, Registered Users 2 Posts: 110 ✭✭snowyeoghan


    Tis cool - i fugured out the problem. Cheers!


Advertisement