[HPADM] Re: Compiling on HP-UX with cc
- From: kevenm@xxxxxxxxxxxxxxxxxxxx (Miller, Keven)
- Date: Thu, 15 Dec 2005 16:46:04 -0700
try man cc I believe cc would default to HP-C or maybe even HP aCC depending on whats installed.
'cc -c some_code.c' would create some_code.o, just the object file, where the -c switch means objects only. 'cc -o some_code some_code.c' should create an executable named 'some_code'.
I think gcc as well as many other packages are available for hpux in binary and source forms from (The porting and archive center for HPUX) http://hpux.cs.utah.edu/ or http://hpux.connect.org.uk/ or from many of the other mirror sites.
Keven Miller kevenm@xxxxxxxxxxxxxxxxxxxx
Shaw, Marco wrote:
Beginner question...
I thought 'cc' would be a compiler. I figured I could simply do something like 'cc -c some_code.c' and get executable code. Is that how cc works?
I've used gcc on Linux before, I've just never used cc on HP-UX or Solaris.
-- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact majordomo@xxxxxxxxxxxxx Name: hpux-admin@xxxxxxxxxxxxx Owner: owner-hpux-admin@xxxxxxxxxxxxx
Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)- References:
- [HPADM] Compiling on HP-UX with cc
- From: Shaw, Marco
- [HPADM] Compiling on HP-UX with cc
- Prev by Date: [HPADM] Compiling on HP-UX with cc
- Next by Date: [HPADM] RE: pb with upload ftp anonymous [SUMMARY]
- Previous by thread: [HPADM] Compiling on HP-UX with cc
- Next by thread: [HPADM] RE: pb with upload ftp anonymous [SUMMARY]
- Index(es):
Relevant Pages
|
|