Thread: SuSE compiling

  1. #1
    Registered User webturtle0's Avatar
    Join Date
    Nov 2002

    SuSE compiling

    I have SuSE linux, and was wondering how to compile a C++ program in linux, or if anyone knows of a program to use. I've just been using the regular text editor, and it highlights the correct parts of the code, like it knows what I'm doing, but I can't find an option to run the program. Thanks in advance.

  2. #2
    Hardware Engineer
    Join Date
    Sep 2001


    SuSE is supposed to ship with the gcc compiler. Beyond that, I don't know if it's installed by default (I'd think so.) and I don't know how to invoke it.
    I hope this is of some help.

  3. #3
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    If you have KDevelop installed you can use that, or alternatively like all *nix OS's you can open a terminal window and from the command propmpt use g++
    "only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein

  4. #4
    still a n00b Jaguar's Avatar
    Join Date
    Jun 2002
    C is embeded in all *NIX environment.
    That must be shipped with all distros of linux.

    gcc is a C compiler.
    g++ is a C++ compiler.

    If it's not installed by default, you can use rpm to install it (SuSE supports rpm). Or Package Manager in KDE can do as well.
    slackware 10.0; kernel 2.6.7
    gcc 3.4.0; glibc 2.3.2; vim editor
    migrating to freebsd 5.4

  5. #5
    Try to use KDevelop. It is very nice and powerful. I like it more than MSVC++. Too bad I don't have linux installed on this comp YET. I will eventually.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem compiling files that store functions
    By tiachopvutru in forum C++ Programming
    Replies: 10
    Last Post: 05-30-2008, 05:42 PM
  2. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  3. Problem Compiling
    By Flakster in forum C++ Programming
    Replies: 4
    Last Post: 06-13-2006, 01:09 AM
  4. newbie: steps to create and compile c program in SUSE
    By gemini_shooter in forum Linux Programming
    Replies: 12
    Last Post: 06-22-2005, 06:35 PM
  5. SuSE 8.1 and nvidia drivers
    By webturtle0 in forum Linux Programming
    Replies: 1
    Last Post: 04-02-2004, 03:07 AM