Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!mcsun!hp4nl!orcenl!bengsig From: bengsig@oracle.nl (Bjorn Engsig) Newsgroups: comp.unix.aix Subject: Re: RISC: xlf and xlc both have getenv() Message-ID: <1115@nlsun1.oracle.nl> Date: 13 Nov 90 09:31:21 GMT References: <1114@nlsun1.oracle.nl> Reply-To: bengsig@oracle.nl (Bjorn Engsig) Organization: Oracle Europe, The Netherlands Lines: 10 In article <1114@nlsun1.oracle.nl> I wrote that having xlf programs calling xlc routins that call getenv() would get the wrong getenv(). A workaround is to add -lc to the xlf linking phase, but is that guaranteed to work, or to put it another way, am I certain not to get C versions of other routines where the fortran version should have been used? -- Bjorn Engsig, E-mail: bengsig@oracle.com, bengsig@oracle.nl ORACLE Corporation Path: uunet!orcenl!bengsig "Stepping in others footsteps, doesn't bring you ahead"