LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
From: justin@tardis.mx.com.au
To : Michael Ivery <michaeli@pharm.usyd.edu.au>
Date: Fri, 23 Apr 1999 22:15:29 +0930 (CST)
Re: Compiling C source code in Linux
On Fri, 23 Apr 1999, Michael Ivery wrote:
> I am very new to Linux in fact don't have a running system yet. But
> the reason I want Linux is because I have some specific programs that
> I can get the source code (C, C++) for and I know can be compiled in
> Linux. How do you go about this process. Where would I get
> information on performing this process. Thanks very much.
What sort of source code? I hope you aren't referring to really kewl d00d
type things like hack.c, imap.c etc etc...
Anyway, the general procedure would be:
gcc -o program program.c
and then you have an executable program. Use './program' to run it.
If it's any decent source, it will have some extra things like a Makefile
or even better a configure script, which makes the Makefiles.
If that's the case, just read the documentation included with the code.
- Justin
--
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
Return to the LinuxSA Mailing List Information Page