Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc 2.95.x?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bbarrera
n00b
n00b


Joined: 22 Mar 2003
Posts: 44

PostPosted: Mon Mar 24, 2003 6:13 pm    Post subject: gcc 2.95.x? Reply with quote

I'm running an engineering application that requires gcc 2.95.x and gmake 3.74 or higher. Anyone successfully running 2.95 alongside gcc 3.2? If so can you give me some pointers on installing?

I searched the forums and couldn't find anything. Also ran emerge search gcc and found kgcc 2.95 but it is for Sparc.
Back to top
View user's profile Send private message
narensankar
Tux's lil' helper
Tux's lil' helper


Joined: 04 Nov 2002
Posts: 109

PostPosted: Mon Mar 24, 2003 6:37 pm    Post subject: Reply with quote

My first instinct will be to suggest trying to run the app with gcc 3.2. If the source is available, in most cases it should be compatible. If you really need 2.9x then my suggestion would be to get the source and build it in a separate directory, i.e. something line /opt/gcc-2.95.x. Gcc can be run from non system paths. It will automatically pick things up correctly. This is a safer mechanism than trying to do parallel gcc installs, IMHO. Build gcc is fairly easy.

Naren Sankar
Back to top
View user's profile Send private message
bbarrera
n00b
n00b


Joined: 22 Mar 2003
Posts: 44

PostPosted: Mon Mar 24, 2003 6:45 pm    Post subject: Reply with quote

The app definitely doesn't work in gcc3.2 distros. I'll try downloading source and compiling in /opt2 where I have the app loaded.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Mar 25, 2003 12:29 am    Post subject: Reply with quote

As long as your gcc 3.2 is >= 3.2.1-r6, it can live side-by-side with gcc 2.95.3-r8 or later. You can use gcc-config to switch between profiles.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum