Find the answer to your Linux question:
Results 1 to 3 of 3
I would like to know how do you compile some C programming for networking in Linux Debian? I am using X Window. Thanks....
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Posts
    10

    Compiling C programming in Debian Linux X Window?

    I would like to know how do you compile some C programming for networking in Linux Debian? I am using X Window.

    Thanks.

  2. #2
    Just Joined!
    Join Date
    Jan 2006
    Posts
    71
    I think you need to be more specific... is it a source package you are trying to compile or is it a program you wrote? Most compiling would be done from the command line, so you can just pop open a terminal (the tv looking icon).

  3. #3
    Linux Engineer d38dm8nw81k1ng's Avatar
    Join Date
    Mar 2005
    Location
    Newcastle
    Posts
    793
    if there's a configure script in the folder, you can do ./configure to create a makefile. if there's already a makefile (or when it's created by configure) you run make. then su into root to execute make install. if neither a configure script or makefile are available (usually if it's only a few files) then you have to invoke gcc directly with gcc -o output input and any libraries you are using. either that or create your own configure script

    but yeah, you should try to give more details about what you are compiling.
    Here's why Linux is easier than Windows:
    Package Managers! Apt-Get and Portage (among others) allow users to install programs MUCH easier than Windows can.
    Hardware Drivers. In SuSE, ALL the hardware is detected and installed automatically! How is this harder than Windows' constant disc changing and rebooting?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •