Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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'm new to C++. I downloaded gcc-4.6.0 for my compiler. Right now I have a folder on my desktop that says "gcc-4.6.0", and inside the folder are more folders. I probably could figure how to set up the compiler but I don't want to do the wrong thing. With the "gcc-4.6.0" folder sitting on my desktop, where do I go from here to successfully set up my compiler. Thx!
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Welcome to LQ.
First thing to do : Tell which Linux OS, you are using.
Like Fedora 15, CentOS 5.6, Ubuntu 11.04 etc.
And then install a system compiler gcc, g++/gcc-c++ with your 'Package Installer'.
I.e. no gcc can be build without a working gcc !
Building gcc-4.6.0 http://www.linuxfromscratch.org/lfs/view/development/
(GCC requires a build directory outside the gcc-4.6.0/ source folder.
And requires these sources unpacked inside 'gcc-4.6.0/': gmp, mpfr, mpc.)
I running Ubunto 11.04 and I have a folder called gcc-4.3.5 on my desktop. I just want to get it installed so I can start working in my c++ book. Inside the 4.3.5 folder are a number of other folders. I have never used a compiler before. Where do I go from here so I can start using the book? -Paul
taylorp: The vast amount of documentation can indeed be daunting. But you need to plow into it. I have found the HOWTOs very helpful. My first download got over 400 PDFs. That will keep you busy for a while. In general, I find books to be more often biassed one way or another, perhaps because of the differences in marketing and production of commercial things vs. the "free" aspect of most Linux stuff. But I preach.
@John VV: John you need to check yourself with all of your capital letters and exclamation marks. I know that you're good, but no matter how good you are there is always someone better. Have you built an operating system? Where is your version of Linux? Until you do so, I would slow down with the condescending attitude.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.