On Tue, May 07, 2002 at 10:29:26AM +0100, Ian Collier wrote:
> On Mon, May 06, 2002 at 09:03:03PM -0400, Thomas Dickey wrote:
> > On Mon, May 06, 2002 at 07:50:47PM -0500, Miles O'Neal wrote:
> > > Henry Nelson said...
> > > |         "/usr/ucb/cc" is totally useless in terms of compiling a
> > > |program like Lynx.
> > > Just curious - why?
> > from memory - it's an old compiler, so it still applies - it recognizes
> > some ANSI features (such as const) but they don't correspond to the standard.
> 
> Actually I think /usr/ucb/cc is just a wrapper for the Sun C compiler

yes - that appears to be what Albert's machines have.  I don't recall if
it's always been that way (I first tried that one with 2.4, iirc).

> which turns on some flags and sets libdirs to link with the ucb
> compatibility libraries.  In general you don't want this...
> 
> One of the flags it turns on is -Xs, which means "Compile assuming
> (pre-ANSI) K & R C style code"
> 
> And of course since it's just a wrapper it doesn't work anyway unless
> you have the real C compiler installed.

;-)

-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

Reply via email to