Results 1 to 3 of 3
Hi peeps
So openSUSE 10.3 comes with gcc 4.2, however an important source package I need to comile requires an older version (gcc 3.3). I know its possible to download ...
- 10-12-2007 #1Just Joined!
- Join Date
- Aug 2004
- Posts
- 42
installing older version of gcc compilers
Hi peeps
So openSUSE 10.3 comes with gcc 4.2, however an important source package I need to comile requires an older version (gcc 3.3). I know its possible to download gcc 3.3, however, Im not sure where I should install it and how I configure my environment to use the older version upon request (instead of the v4.2). Could any of you help me please with some advice on doing this. Thanks
- 10-12-2007 #2Just Joined!
- Join Date
- Aug 2004
- Posts
- 42
Actually, I remember that the software compiled in suse 10.2 with the gcc 4.1 compilers, and I know that suse 10.3 has gcc 4.1.3 compilers in addition to 4.2 ones. Ive installed the 4.1.3 compilers (without uninstalling the newer compilers). How do I configure the environment to use the 4.1.3 compilers?
- 10-12-2007 #3
The system is usually looking for /usr/bin/cc, which is a symlink to the gcc. Just remove the existing cc and set up a new one linked to the required gcc.
I've only done this when compiling nvidia using kernel source, but I guess your problem is similar.Pete


Reply With Quote