LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-06-2000, 07:19 PM   #1
bljarvis
LQ Newbie
 
Registered: Sep 2000
Posts: 1

Rep: Reputation: 0

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!
 
Old 09-06-2000, 08:41 PM   #2
bickford
Member
 
Registered: Jun 2000
Location: SUNY Buffalo
Posts: 79

Rep: Reputation: 15
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.
 
Old 09-07-2000, 12:07 AM   #3
eraser
Member
 
Registered: Aug 2000
Location: US
Posts: 47

Rep: Reputation: 15
Thumbs down

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!
 
Old 09-13-2000, 11:41 AM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,462

Rep: Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340
whoa! What's wrong with gcc/egcs? Are you saying that VC++ is better??
 
Old 09-13-2000, 07:34 PM   #5
eraser
Member
 
Registered: Aug 2000
Location: US
Posts: 47

Rep: Reputation: 15
IMHO Visual C++ is the best C++ compiler in the market right now!
 
Old 09-13-2000, 07:41 PM   #6
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,462

Rep: Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340
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++.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
questions about programming... efm Programming 12 11-29-2005 02:58 PM
2 programming questions hk_michael Programming 4 02-01-2005 01:02 AM
programming questions eboats Linux - General 19 10-22-2001 06:15 PM
unix programming questions eboats General 7 10-18-2001 06:48 PM
programming questions eboats Programming 4 10-17-2001 03:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration