Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!math.fu-berlin.de!unido!sapwdf!wohler From: wohler@sapwdf.UUCP (Bill Wohler) Newsgroups: comp.unix.aix Subject: Re: xlc and brain damage Message-ID: <2813@sapwdf.UUCP> Date: 17 May 91 14:49:19 GMT References: <2811@sapwdf.UUCP> <1991May16.003051.10069@morrow.stanford.edu> Reply-To: Bill Wohler Organization: SAP AG, Walldorf, Germany Lines: 23 chuck, you haven't fully answered the question. yes, i know that all the compilers are hard linked to xlc using definitions in /etc/xlc.cfg and other magic internal variables to produce different behavior from the same binary. but 1) would one use xlc to compile code using, for example, ? if so, 2) what magic would one have to perform to get DIR and opendir() and so on defined? i'm not too hip on this standards stuff and doing something like defining _POSIX_SOURCE in my makefile gives me the heebie-jeebies. by the way, is it appropriate for mere mortal programmers to define _POSIX_SOURCE, __STDC__, _ANSI_C_SOURCE and so on in ones makefile (obviously if they are not set by built-in macros or )? perhaps there is a document that describes these standards and macros? -- --bw ----- Bill Wohler Heidelberg Red Barons Ultimate Frisbee Team