Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


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

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

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

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

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

$ export CC=gcc-2.96
$ ./configure


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
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 > Forums > Linux Forums > Linux - Distributions > Mandriva

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