Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-13-2004, 02:38 PM   #1
LQ Newbie
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
Question how to use new version of gcc?

Hi, I'm newbee in Linux. I have Mandrake 9.1 and installed from distributions rpm - gcc-3.2.2 (installed in /usr/bin and libraries in /usr/lib). I would like to install new soft, witch require gcc>3.3 - I configure, make and make install gcc-3.4.3.tar.bz2 (in /usr/local/bin and libraries in /usr/local/lib and /usr/local/libexec, /usr/local/include and /usr/loca/share). I have two gcc in systems.
When I try make with new gcc (g++ -V 3.4.3) I get an error -
g++: installation problem, canot exec 'cc1plus': No such file or directory,
and when I try make width
COMPILER=g++ -V 3.4.3 --libdir=/usr/local/lib/ --libexexdir=/usr/local/libexec/
is the same.
In I have /usr/local/lib and /usr/local/libexec, and I make ldconfig.
Where I'm make some wrong?

PS. Sorry for my English.
Old 11-15-2004, 02:07 AM   #2
Registered: Dec 2002
Location: The land of GMT -6
Distribution: OS X, PS2 Linux, Ubuntu, IRIX 6.5
Posts: 399

Rep: Reputation: 31
What is the output of "gcc -v", "echo $PATH", and "which gcc"? I think you need to set the path to include /usr/local/bin before /usr/bin, but I don't know for sure.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 03:54 PM
how to know version of gcc phanee Linux - Software 2 08-05-2005 12:45 PM
redhat fedora gcc version (compiled for 2.4.20) doesn't match kernel version 2.4.22 start1000 Linux - Software 0 03-16-2004 09:17 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 01:07 AM
Sample Driver Module incompatibility with Kernel version (or gcc version) jvs Linux - General 1 06-07-2002 02:40 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration