Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

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,522 ✭✭✭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
Advertisement