Subject: | |
From: | |
Reply To: | |
Date: | Thu, 21 Aug 1997 10:03:10 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Richard Fisher writes:
> Can anyone tell me where to look or explain how to get the GNU C
> compiler working (downloaded from the jazz server). I do believe i've
> got it installed, after a bit of trouble. My question is how do i use it to
> compile C programs? What parms to use, is they're any special directory
> to run it from or environment variables that need to be set?
>
> I would like to use it to eventully compile the latest and greates version of
> Apache web server.
Just download Apache via http://www.cccd.edu/~markb/apacheix.html, edit
Configuration, run Configure, then simply say "make" to compile everything.
No muss, no fuss. ;-)
Major C packages are all pretty much similar -- some sort of configure step
which generates a Makefile which describes how all of the pieces of the
package are compiled and linked together. Generally you just do a "make"
which reads the Makefile to learn how to invoke the compiler(s) automatically.
You probably won't need to mess with compiler parameters unless you're
attempting a port, or specifying non-standard compile-time #defines, or linking
with non-standard libraries.
--
Mark Bixby E-mail: [log in to unmask]
Coast Community College Dist. Web: http://www.cccd.edu/~markb/
District Information Services 1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)
|
|
|