I am missing something important while porting to AIX 3.1?
jsalter at ibmpa.awdpa.ibm.com
jsalter at ibmpa.awdpa.ibm.com
Thu Feb 7 12:35:28 AEST 1991
In article <1991Feb6.203350.5869 at ux1.cso.uiuc.edu> andreess at mrlaxs.mrl.uiuc.edu (Marc Andreessen) writes:
>Like I said, that's another story. What I meant was, there are very few
>programs ``out there'' that will compile with xlc/c89, which is obviously
>because most existing programs are K&R C, not ANSI C. Thus, I use cc
>when I port existing code rather than xlc/c89 (often even for code that
>looks ANSI-compliant, just because there's a better chance cc will compile
>it with few modifications).
That's the beauty of the the implementation. xlc, c89, and cc all invoke
the same program. The *only* difference is the options passed to
/usr/lpp/xlc/bin/xlcentry. You can define your own options or assembler or
loader or loader options in /etc/xlc.cfg. The only shame is that you can't
define which C pre-processor to use, though the BSD docs tell how to do that.
Besides, if your program compiles under xlc or c89, you pretty much KNOW
you're ANSI C compliant. :-)
>Marc Andreessen___________University of Illinois Materials Research Laboratory
>Internet: andreessen at uimrl7.mrl.uiuc.edu____________Bitnet: andreessen at uiucmrl
jim/jsalter IBM PSLOB, Palo Alto T465/(415)855-4427 VNET: JSALTER at AUSVMQ
Internet: jsalter at slo.awdpa.ibm.com UUCP: ..!uunet!ibmsupt!jsalter
PS/2 it, or DIE! :-) The ramblings above have nothing to do with Big Blue.
More information about the Comp.unix.aix
mailing list