[HPADM] SUMMARY : shipped C / gcc

From: Palmer, Neal (NPalmer@uwic.ac.uk)
Date: Fri Jul 05 2002 - 05:26:52 EDT


Hi all,

V.T. Mueller came through with this one. confirmed the concepts for me
perfectly!

Cheers

Neal.

> Subject: Re: [HPADM] SUMMARY - RE: installing wrapper errors /
> shipped C
>
> Neal,
>
> On Friday, 05. July 2002, Palmer, Neal wrote:
> > No response on this one, but I found a wrapper depot file which
> installed as
> > smoothly as something very smooth indeed. Anyone know how swinstall can
> do
> > things so easily, yet 'make' nearly always gives me hassle?!
>
> You appear to be comparing apples with bananas. Swinstall does install
> binaries, whereas you tried to compile and install the program by its
> source code.
>
> > The question about gcc and the shipped C libraries, still stands, if
> anyone
> > can tell me what the best practice is. i.e. stick to shipped, or replace
> > with better version?
>
> HP-UX ships with a bundled C-Compiler, jargon name "braindead C-compiler".
> It is *only* capable of compiling K&R C-code and to link kernel modules.
>
> If you intend to install open-source Software, you can either buy HP's
> ANSI C (recommendable, but somewhere between 2 and 3k Euro) or you may
> want to install gcc. Gcc is free, doesn't mind many of non-standard C
> syntax people do use - but can't optimize for PA-RISC 2.0 .
>
> Anyway, if you want to use gcc you either have to adjust your PATH
> settings so make finds it before it finds cc (be careful and don't
> do this for root since this will break kernel linking!!!), or you
> have to tell make which cc to use.
>
> So you could either do:
>
> $ CC=gcc make hpux
>
> or
>
> $ CC='/some/weid/path/bin/gcc' make hpux
>
> Hope this helps,
> Volker
>
> -----------------------------------------------------------------
>
> Volker T. Mueller
> -----------------------------------------------------------------

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:15 EDT