LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-05-2005, 05:45 PM   #1
charlou
LQ Newbie
 
Registered: May 2005
Posts: 1

Rep: Reputation: 0
how to point a gcc compiler??


Hi,
I use Mandrake 10.1, i try to compile a program (GEANT4.5.2) with g++ 3.4 but it doesn't work with this compiler's version, i have also g++ 2.96 installed on my PC but i can't use it because g++ 3.4 is the default compiler, so do somebody can help me to compile this program with g++ 2.96 without uninstall g++ 3.4?????

Thank you

Charlou
 
Old 05-05-2005, 07:25 PM   #2
mcosta
Member
 
Registered: Jan 2005
Location: Spain
Distribution: Debian
Posts: 44

Rep: Reputation: 16
If the program uses gnu autoconf (99% it does):

Code:
$ export CC=gcc-2.96
$ ./configure
 
  


Reply



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
gcc floating point to normal conversion morph_ind Programming 6 09-20-2005 10:46 AM
gcc compiler canyon289 Linux - Software 3 10-23-2004 10:22 PM
GCC compiler aviceda Linux - Newbie 5 08-13-2004 06:55 AM
GCC Compiler HELP Otaking Linux - Newbie 5 04-08-2004 06:17 PM
GCC compiler...? ph0tik Linux - Newbie 4 04-22-2003 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:29 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
Open Source Consulting | Domain Registration