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.
Hey, can someone tell me how I can set LILO to boot to windows as a default. My wife and kid don't need to work in Linux
Also, I have done a bit of C++ programming, but I don't know how to access the compiler in Linux. Would appreciate any help on either of these two issues. Thanks in advance!
Hello,
To change which OS is booted by default you need to edit the /etc/lilo.conf file. Look for a line that says something like 'default=linux' and change that to what LILO knows as the name of your windows partition. (most likely 'dos' or 'windows').
As for a C++ compiler gcc comes standard with Linux installations, just type 'gcc -o foo foo.c' to compile foo.c and get foo as the executable.
Unfortunately I don't know of any descent Linux C/C++ compiler, that's y I stick with M$ Visual C++, I don't like M$ but Visual Studio is a great product, the debuger is way better than Borland's IMO!
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602
Rep:
I think you may be confusing a compiler with an IDE. Visual C++ is both an IDE and a compiler, egcs is just a compiler. A compiler JUST compiles code. The syntax highlighting, name completion, GUI front-end is the IDE. IMHO egcs is MUCH better at compiling. If you play with emacs a bit you really can get it to do some amazing things, it just not as "out of the box" as VC++.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.