[HPADM] Compiling on HP-UX with cc



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.

A google search can't seem to bring up anything quickly on
'how to compile on HP-UX (without gcc)'.

Unless someone can point me to a gcc download for HP-UX...

I tried using a cross-compiler on Linux, but I'm a bit in a
hurry, and the parisc-linux cross-compiler howto is a bit
more involved than I'm interested in playing around with.

Marco

--
---> 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)



Relevant Pages

  • Re: Data Protector 5.50 and disk agent on Ubuntu.
    ... performance boost in HP-UX 11.31? ... A file buffering similar to Linux, ... I think it is a combination of a new I/O infrastructure ... If you get 30% more performance from tuning or from a better compiler, ...
    (comp.sys.hp.hpux)
  • Re: Use of C99 int types
    ... > those that actually are part of the C-implementation for Linux. ... the kernel definitions are part of /usr/include). ... The kernel uses __foobar stuff provided by the compiler because it has ... > the Gimp and GCC run on completely different architectures aswell. ...
    (Linux-Kernel)
  • Re: censored by comp.compilers [was please suggest an OS and language a text]
    ... z/OS has way more hardware capability than Intel ... Linux has basically no doc except what people feel ... than simple file I/O to write a compiler, ...
    (comp.lang.misc)
  • Re: censored by comp.compilers [was please suggest an OS and language a text]
    ... The x86 instruction set isn't that complex, ... Windows has a lot of doc but Windows doesn't do 10% of what ... a static compiler can probably be done with little more than file IO. ... a VM involving JIT may need a bit more to be effective (mmap and libdl on Linux, ...
    (comp.lang.misc)
  • Re: function pointers
    ... I am using gcc under ... gdb, and the compiler, exactly like in 1986 when I first started using ... when running on linux, I usually use gedit or kedit. ... There is only one debugger: ...
    (comp.lang.c)