LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-12-2003, 02:04 PM   #1
trpn
Member
 
Registered: Oct 2002
Posts: 31

Rep: Reputation: 15
gcc (easy question)


hey everytime i try to compile something it can't find gcc...
so I have to type "CC=/usr/bin/gcc" and then "export CC" every single time that I want to compile something...
how can I make it so I don't have to do this? so i can just ./configure

also
gcc -v gives me 3.2.1.... but I don't have that installed... I have slack so its 2.95.3..... what the?????
 
Old 03-12-2003, 02:09 PM   #2
trpn
Member
 
Registered: Oct 2002
Posts: 31

Original Poster
Rep: Reputation: 15
K nevermind... its really screwed up...
its giving me a "configure: error: installation or configuration problem: C++ compiler cannot create executables." and I don't know what that is .. even if i point it to gcc... any way that I can make my system realize that gcc 3.2.1 is not installed and use the one that I have?
 
Old 03-12-2003, 02:32 PM   #3
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
The error you're getting:
Quote:
configure: error: installation or configuration problem: C++ compiler cannot create executables.
Is telling you your problem is not with gcc. C code is different from C++ code. They use different compilers. Specifically, standard C uses gcc. C++ uses g++. Make sure g++ is installed on your system.
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy question for ya... speedo Linux - Newbie 2 10-23-2004 04:38 PM
EASY! where's gcc...or cc? presidentscroob Linux - Newbie 4 04-14-2004 03:11 AM
X Question.. Probably easy :) duckdown Linux - Software 2 03-26-2004 06:36 PM
Easy Question?? BlandoCal Linux - Hardware 1 10-05-2003 10:03 PM
An Easy Question southernman Linux - General 1 12-12-2001 06:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:30 AM.

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