Thread: starting linux programming

  1. #1
    Registered User Micko's Avatar
    Join Date
    Nov 2003
    Posts
    715

    starting linux programming

    Hello guys,
    I have recently installed Mandrake linux 9.0 and want to write a few lines of code under linux. I have already used gcc. I wonder what IDE are you using? Under windows I used to Dev-Cpp but what is the recommended choice for linux?
    Thanks
    Gotta love the "please fix this for me, but I'm not going to tell you which functions we're allowed to use" posts.
    It's like teaching people to walk by first breaking their legs - muppet teachers! - Salem

  2. #2
    Me -=SoKrA=-'s Avatar
    Join Date
    Oct 2002
    Location
    Europe
    Posts
    448
    That Mandrake version is really old, I'd recomment getting a newer one.

    I just use emacs. I used to use KDevelop, but I didn't like it that much. Ajunta is supposed to be good.
    SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
    I say what I say, I mean what I mean.
    IDE: emacs + make + gcc and proud of it.

  3. #3
    Registered User Micko's Avatar
    Join Date
    Nov 2003
    Posts
    715
    Does Anjuta comes with KDevelop or I need to download it?

    Also, I know thah Mandrake 9.0 is old but this is my hardware:
    AMD Duron 750 Mhz
    MB Asus A7s-Vm +VGA+SB
    RAM 756 MB
    HDD1 40 GB (winXP)
    HDD 15 GB (Mandrake)

    So, as you can see my computer is old too
    Gotta love the "please fix this for me, but I'm not going to tell you which functions we're allowed to use" posts.
    It's like teaching people to walk by first breaking their legs - muppet teachers! - Salem

  4. #4
    Me -=SoKrA=-'s Avatar
    Join Date
    Oct 2002
    Location
    Europe
    Posts
    448
    KDevelop comes with Mandrake, I'm almost 100% sure. I think that's where I used it. Ajunta is a completely different IDE written in Java with an emphasis on being easy to write plugins for it IIRC. I don't know if it comes with Mandrake or not, try to install it with whatever install/uninstall manager Mandrake has.

    When I used Mandrake 9.0 (or 9.1, I'm not sure), it was on a PII 300MHz, 128MB RAM, 30GB hard-drive computer, so don't complain. Apart from disk speed (it was a laptop), it was no problem.
    SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
    I say what I say, I mean what I mean.
    IDE: emacs + make + gcc and proud of it.

  5. #5
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    I think you are confused. Anjuta is written in C/C++. I'd say that at the moment KDevelop is a good deal ahead of Anjuta.

    Also, what you are thinking of is Eclipse.
    It is written and java and is very easy to write plugins for.
    Programming Your Mom. http://www.dandongs.com/

  6. #6
    !anExpert
    Join Date
    Mar 2005
    Location
    pa
    Posts
    155
    Though I am not a real big fan of IDEs, I have used Kdevelop and it is an excellent tool. Also, I have recently started using Eclipse for Java and it has really impressed. There is a c++ plugin for it, If it is anywheres near as good as the Java version it would be worth checking out....

    KDevelop is a good tool, just not for me. I prefer an editor (Kate) and a term window. Use gdb for debug if needed. Def check out eclipse too.

  7. #7
    Me -=SoKrA=-'s Avatar
    Join Date
    Oct 2002
    Location
    Europe
    Posts
    448
    >I think you are confused. Anjuta is written in C/C++. I'd say that at the moment KDevelop is a good deal ahead of Anjuta.
    >Also, what you are thinking of is Eclipse.

    Must be, I was never good at names.
    SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
    I say what I say, I mean what I mean.
    IDE: emacs + make + gcc and proud of it.

  8. #8
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    I must admit, Kate is pretty good too.
    Personally I use VIM and two terminals.

    If your going to go with C++, and want an IDE, I'd go with KDevelop3 though. Its very very nice.
    Programming Your Mom. http://www.dandongs.com/

  9. #9
    !anExpert
    Join Date
    Mar 2005
    Location
    pa
    Posts
    155
    >> Personally I use VIM and two terminals.

    Yeh I have been meaning to make myself learn VIM, havent been able to yet. When Im in X I stick with a gui editor, and if no X I get by with Joe usually. Joe is not as nearly as nice as VIM, but it does have syntax highlighting and indenting.. so I get by..

    I will join you in the VIM world someday..

  10. #10
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    Ya, I spent a good 3 years under Linux before finally sitting down and learning VIM.
    It'll take you a painful week to get used to it, but in the end its really useful.

    Also, in a GUI environment, give gVim a try. You can use it exactly as the command line version, but it also has clickables.

    Also, a tip for using command line editors in a GUI environment, choose your shell carefully.
    I went through GNOME Terminal, ATerm, XTerm, a few more terms, and on all of them, if I was editing a lot of code, VIM would have noticable log for some operations (keep in mind, I'm running at a resolution of 2048x1536, so this might not be a problem for you). I kept uninstalling terms (not the most elegent solution), and now am using "x-terminal-emul", according to top. Its really really really blazing fast, althought it doesn't have all the bells and whistles of others.
    Programming Your Mom. http://www.dandongs.com/

  11. #11
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    Posts
    416
    Micko,
    newer versions of linux will run on your hardware. Mandriva is the only main distro that requires pentium class hardware, everyone else still uses the i386 as default hardware architecture.

    you will get lots of different recommendations for an ide, ranging from joe/vi(m)/emacs at console to the full gui ides. pick the one you like the best.

    my personal gui ide is glimmer, strictly a coding tool, no gui widget sets.
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

  12. #12
    Just kidding.... fnoyan's Avatar
    Join Date
    Jun 2003
    Location
    Still in the egg
    Posts
    275
    Hi

    First, I am a Slackware user and once installed Mandriva LE 2005 on one of my friends' PC and see that the man pages including the system calls (section 2) and Subrutines (section 3) are not complete! For example there was no man page for "pthread_create()". If yours are also missing, get them fro mthe net and install!

    My IDE is VIM on tty1 + GCC on tty2 + GDB on tty3. But if i use X, anjuta is my favorite....But most of the times, even while running X, I use a terminal window (mrxvt) and use VIM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. linux, doubles, and unions
    By paraglidersd in forum Linux Programming
    Replies: 14
    Last Post: 11-19-2008, 11:41 AM
  2. Back from the depths of Linux
    By SpEcIeS in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 03-03-2005, 12:09 PM
  3. Linux
    By cerin in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 02-10-2005, 09:41 PM
  4. installing linux for the first time
    By Micko in forum Tech Board
    Replies: 9
    Last Post: 12-06-2004, 05:15 AM
  5. Linux for Windows!
    By Strut in forum Linux Programming
    Replies: 2
    Last Post: 12-25-2002, 11:36 AM