|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - HowTos Discussions Have any questions about any HowTo found at the wiki? Post in here! |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I have installed SuSE 10.1 on my box which comes with gcc-4.1.0
Does anybody knows how to downgrade from gcc-4.1.0 to gcc-3.3.6 or lower? I have downloaded core gcc-3.6.0 and untared it then ./configure --prefix=/opt/gcc33 --program-suffix=-3.3 then make bootstrap then make install but when I tried gcc -v i still saw that my gcc is version 4.1.0 What should I do?? Thx in advance... |
|
|||
|
you will almost certainly create problems doing this. gcc 4.x and 3.3.x do not produce compatible output.
you'd be better looking at 4.1.1 or 4.2 if anything. what is your problem / reason for wanting this? |
|
|||
|
Quote:
I would advise you to: 1. If you want to compile a project with your own make file, use the line for the gcc = /opt/gcc33/bin/gcc or g++ 2. If you need it for something else, you have to add it to the path: export PATH=/opt/gcc33/bin:$PATH |
|
|||
|
so then he will have two compilers sets and accompanying libs in his path. Not the best way to build a stable environment.
Be warned , this is not trivial. gcc is not just an executable. gcc=gnu compiler collection , note the word collection. c , c++ and fortran . Upgrading gcc needs to be done with a bit of thought. Going backwards is likely to create serious breakage depending on what you do once you have it installed. |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|