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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've just instaled Redmond Linux, but it didnt came with a compiler, iv'e downloaded GCC but in order to install it i need to change the enviromental variable and set it to the GCC directory. Im so dumb and i dont know how to do this... any help will be really apreciated.
this is from the LFS 4.0 manual at linuxfromscratch.org
GCC 3.2 with patch
Installation of GCC
This package requires its patch to be applied before you can install it. Make sure it's unpacked before running the installation commands.
This package is known to behave badly when you have changed its default optimization flags (including the -march and -mcpu options). GCC is best left alone. Therefore, if you have defined any environment variables that override default optimizations, such as CFLAGS and CXXFLAGS, we recommend unsetting or modifying them when building Gcc. You have been warned.
Install GCC by running the following commands. These commands will build the C and C++ compiler. Other compilers are available within the gcc package. If you want to build all the other available compilers too, leave out the --enable-languages=c,c++ option in the configure command. See the GCC documentation for more details on which additional compilers are available.
Note: the build of other compilers is not tested by the people who actively work on LFS.
--enable-threads=posix: This enables C++ exception handling for multithreaded code.
--enable-__cxa_atexit: This option will result in C++ shared libraries and C++ programs that are interoperable with other linux distributions.
--enable-clocale=gnu: There is a risk that some people will build ABI incompatible C++ libraries if they didn't install all of the glibc localedata. Using --enable-clocale=gnu ensures that the "right thing" is done in all cases. If you don't wish to use this option, then at least build the de_DE locale. When GCC finds this specific locale, then the correct locale mode (gnu) is implemented.
Originally posted by uebernewbie| I've just instaled Redmond Linux, but it didnt came with a compiler, iv'e downloaded GCC but in order to install it i need to change the enviromental variable and set it to the GCC directory. Im so dumb and i dont know how to do this... any help will be really apreciated.
well that's what you get for using a distribution like lycoris / redmond...
The LFS instructions aren't going to help this guy because they assume that you have a host system with a working compiler.
You are going to need to install a binary GCC, instead of from source. To put it one way: You can't compile the compiler without a compiler. Don't quote me on this but I think you need glibc installed first.
Like acid_kewpie implied, you should choose a better distro if you want to be building apps from source.