Well, this is odd that you would get a .c by itself.  You should normally have 
a configure script and a Makefile.  If you do, you should also have a file 
called INSTALL which is a textfile with installation instructions.  If you 
don't have INSTALL most compilations and installations using Makefiles are as 
follows:

./configure
make
make install

You probably need to be root for make install unless you pass a --prefix flag 
and change where the program will be installed.

But with that out of the way, since you said you only got a .c (which is very 
odd), you can compile a simple .c program with the following:

gcc -Wall foo.c -o foo

However, depending on the complexity of the program, this may not be enough.  
You may need to use -I flags to include files not in the expected paths.  You 
may need flags like -lrt or -posix4.  It all depends on what the program is 
doing.


On Thursday 10 October 2002 01:49 am, [EMAIL PROTECTED] wrote:
> I can't help you with compiling .c sources, however, using
> http://www.rpmfind.net/linux/rpm2html/search.php?query=rdesktop I have
> found some rpms you could download and install instead. The latest version
> here is 1.1.0-5 (there's even mandrake specific rpms!).
>
> Jamie
>
> --------------------------------------------
> [EMAIL PROTECTED]
> ITS
> Internal Extension : 5806
> Direct Dial        : 0870 754 5806
> --------------------------------------------
>
> -----Original Message-----
> From: Gabe Knuth [mailto:[EMAIL PROTECTED]]
> Sent: 09 October 2002 21:52
> To: [EMAIL PROTECTED]
> Subject: [newbie] compile rdesktop on PPC?
>
>
> Hello,
>
> I've downloaded this application called rdesktop for connecting to
> Microsoft Terminal Services sessions.  My issue is that it came down as a
> .c file and I need to compile it - something I've never done before. Can
> anyone point me in a direction?
>
> Thanks,
> Gabe


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to