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 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. imc ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]
