Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have gcc 4.2.3 installed normally. Then I have the exec of gcc 3.3.6 named gcc-3.3.6 in the same dir as the gcc exec. What else do I need to do to ensure the older exec will work? Because it doesn't seem like it does right now, gives me this:
Quote:
gcc-3.3.6: installation problem, cannot exec `cc1': No such file or directory
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,514
Rep:
OK, I remember software, which couldn't find 'cc1'
# 'ln -s /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/cc1 \
/usr/local/bin'
will work in some occasions.
But better delete it after use, may confuse things
with the other compiler.
....
And by the way, gcc-4.2.3 indicates Slackware 12.1
....
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,514
Rep:
The configure script, often present in a source code
package will write your argument " CC= " into the
Makefile, when it is done like this 'CC=gcc-3.3.6 ./configure'
If there is no "configure" , make should take this
argument : 'CC=gcc-3.3.6 make'
The expression 'gcc-3.3.6' must be spelled exactly
as you have it in /usr/bin/ ( and not " =3.3.6 " )
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.