View previous topic :: View next topic |
Author |
Message |
Peha n00b
Joined: 07 Aug 2002 Posts: 37
|
Posted: Thu Sep 05, 2002 7:45 pm Post subject: GCC 2.95 on Gentoo 1.4 |
|
|
(I'm sure this was asked before, but the forum's search function has some problems with searching for numbers )
Would it cause problems to install GCC 2.95 on Gentoo 1.4 with emerge? I want to use GCC 3.2 as default, but need to compile a tarball which only works with the old GCC.
Which variable(s) do I need to export before starting to compile the tarball so that GCC 2.95 gets used?
Regards,
Peha |
|
Back to top |
|
|
meyerm Veteran
Joined: 27 Jun 2002 Posts: 1311 Location: Munich / Germany
|
Posted: Thu Sep 05, 2002 8:42 pm Post subject: |
|
|
I think an "emerge \=gcc-2.95" or similar should do the job. And if portage works correctly, the default gcc should be gcc 3.2 and you will have to call gcc 2 explicit. Perhaps...
Last edited by meyerm on Thu Sep 05, 2002 8:47 pm; edited 1 time in total |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Thu Sep 05, 2002 8:45 pm Post subject: |
|
|
meyerm wrote: | And if portage works correctly, the default gcc should be gcc 3.2 and you will have to call gcc 2 explicit. Perhaps... |
Have you (or anyone else) actually tried this? I see nothing in the gcc 2.95.3-r7 ebuild that suggests that this would work. I think it would be much harder to do than that. The gcc 3.x ebuilds are designed to install alongside 2.95.3, leaving 2.95.3 as the default gcc, but not the other way around. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
meyerm Veteran
Joined: 27 Jun 2002 Posts: 1311 Location: Munich / Germany
|
Posted: Thu Sep 05, 2002 9:12 pm Post subject: |
|
|
rac wrote: | Have you (or anyone else) actually tried this? |
Nope, of course not. I'm always giving suggestions without testing them...
Well, but it would be interessting to solve this miracle. Looking in the ebuild, I would say that there are also other problems (info-pages f.ex.). But none-the-less, it really looks like installing gcc-2 after gcc-3 will make it the default since it just creates new symlinks and copies binaries... Hmmm. But I really don't understand how you can install both of them in parallel... Could rac help us out, please?
Sorry peha, but my answer was really a little bit too fast . I will keep my mouth shut in the future... (for at least 10 seconds... ) |
|
Back to top |
|
|
|