Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Help:Installing gcc compiler on linux

Options
  • 10-10-2008 6:20pm
    #1
    Registered Users 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 Posts: 3,568 ✭✭✭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 Posts: 110 ✭✭snowyeoghan


    Tis cool - i fugured out the problem. Cheers!


Advertisement