Amanda-Users

Re: not able to compile

2004-09-23 12:56:14
Subject: Re: not able to compile
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 23 Sep 2004 12:56:11 -0400
On Thu, Sep 23, 2004 at 05:58:41PM +0200, teo73 AT ciaoweb DOT it wrote:
> how can i test it? i' m compiling on a server and it look the C comiler is
> installed!

First and simple test, make a file called "helloworld.c" as follows.

        #include <stdio.h>

        int main(void)
        {
                (void) puts("hello world!");

                return 0;
        }

Then type "make helloworld".

If there are no error messages,
try to run the newly created program
as  "./helloworld".

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

<Prev in Thread] Current Thread [Next in Thread>