LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-04-2003, 02:32 PM   #1
hbktron
LQ Newbie
 
Registered: Apr 2003
Posts: 2

Rep: Reputation: 0
Question Linux Programming Enviorment


Hello everyone,
I am a complete Linux newbie who is hoping to continue programming with the Linux system.

I've had Linux Mandrake for about a week and here is my question.

I want to program with C++ and Java. So what can I use that's already included in Linux? Without downloading further apps.
I mean I know about the basic text editors, but how can I compile/test? What is the GCC used for etc? What are some of your efficient programming setups?

Any help you could give me in this area would be greatly appreciated. I'm still making the jump from Windows, so forgive me if this is asking a lot.

Thanks again
-Matt
 
Old 05-04-2003, 02:52 PM   #2
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
Compilation is usually done with the GNU C Compiler which handles, C, C++, fotran77 and some others me thinks. Not all distros include it in the n00b installation because they don't think that new linux people will want to compile programs (unless you chose 'Developer' workstation during installation). The c/c++ libraries will be installed and you can easily install the GNU Debugger (gdb).

The real thing to note here is the variety that accompanies linux for the programmer. There are tons of text editors, a fair number of compilers and debuggers.

You may want to try searches on www.sourceforge.net www.freshmeat.net and www.google.co.uk/linux for the tools you usually use in linux for equivalents in linux.

Be prepared, there are a lot.

Alex
 
Old 05-04-2003, 05:31 PM   #3
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
emacs as editor 10x more powerfull then any other ide.
gcc gor compiling c/c++ applications
gdb for debugging all these application are included in all dist.
 
Old 05-05-2003, 04:15 AM   #4
acjt
Member
 
Registered: Dec 2002
Location: Australia
Distribution: Gentoo
Posts: 161

Rep: Reputation: 30
Quote:
emacs as editor 10x more powerfull then any other ide.
I'd have to say that there is nothing really, that can be eclipse. I've used a lot of editors/IDE's and it's by far the best thing since fire was invented.
If you want to code C++, get the CDT plugin. I'm not sure if eclipse comes with your distribution, but if you are serious about coding Java (and C++) I'd take the time to get it.
 
Old 05-05-2003, 10:31 PM   #5
cludwin
Member
 
Registered: Feb 2002
Distribution: Slack
Posts: 50

Rep: Reputation: 16
A subject near and dear to my heart.

As far as IDE's go my thouhgt is this:
simple is better.

I can't stand the all in wonder ide's. They all try to be like MS visual studio . They are all Big, slow and difficult to learn. Worst of all they try to do the thinking for you. Emacs is like learning another language. Who has the time to learn all those obscure key strokes? I use "vim" right from the shell because it is light, fast and syntax highlight's everything. Here is my setup of choise:

shell: bash
text editor: vim
compiler: gcc
debugger: gdb
built tool: make

The best part is I can work from one window. vim lets me edit multiple files and spawn shells as I need then, that way I don't have to close the files I am editing to make or debug my work.

hope this helps.
 
Old 05-06-2003, 12:52 AM   #6
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
vin and emacs they both have abscure kystrokes but you get use to them best way is to test both and choose the one which suits you. or just use a ide.
 
Old 05-06-2003, 02:14 AM   #7
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
Emacs is like learning another language. Who has the time to learn all those obscure key strokes?

i really dont think so. if u run emacs in x its a capable and well documented editor u can learn to work with within few time using the tutorial.

but if u're looking for an ide i'd recommend eclipse, too.
for writing html: quanta
cheers, jens
 
Old 05-06-2003, 04:17 AM   #8
moeminhtun
Member
 
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647

Rep: Reputation: 30
Try JEdit. It's simple and powerful. It's power actually comes from the plugins. Its a lot of plugins have been developed and still being developed so its power has no limit.
 
  


Reply



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
Difference between Top Down programming & Bottom up programming minil Programming 1 06-17-2005 02:42 AM
New Forum for Linux-Gurus[Programming/Administration] or Linux-Advanced Users [ Progr raees LQ Suggestions & Feedback 5 04-12-2005 07:35 PM
Programming in Linux sduffy89 Programming 8 09-01-2004 03:59 PM
Configuring GRUB in a multi OS enviorment fhameed Linux - Newbie 3 11-03-2003 01:05 PM
Exp. Windows/Linux-Script Programmer - Need Linux Programming Mentor! ruttiger Linux - Newbie 2 10-28-2001 11:00 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:23 AM.

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
Open Source Consulting | Domain Registration