Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!mnemosyne.cs.du.edu!isis!rwelch From: rwelch@isis.cs.du.edu (Randy S. Welch) Newsgroups: comp.lang.perl Subject: Re: Perl 4.0 refuses to compile using gcc 1.30 Message-ID: Date: 11 Apr 91 00:03:03 GMT References: <1553@sunc.osc.edu> Sender: usenet@mnemosyne.cs.du.edu (netnews admin account) Organization: Public Access Unix - Univ. of Denver, Math Dept. Lines: 27 In-Reply-To: khera@thneed.cs.duke.edu's message of 10 Apr 91 16:04:33 GMT In article khera@thneed.cs.duke.edu (Vick Khera) writes: In article <1553@sunc.osc.edu> phil@cgrg.ohio-state.EDU (Phil Ritzenthaler) writes: Background: Sun 4/280 Sun OS 4.1.1 GNU gcc compiler version 1.39 Problem: Unfortunately, I don't read this news group as often as I probably should, but I cannot get perl 4.0 to compile using gcc. I run through the standard Configure just changing the line cc to gcc when it asks. Judging by what occurs after, Larry obviously has made provisions for gcc in the Configure. I believe that Phil was having a problem with the *environment variable. ( Supposed to be defined in an include file Std. ) If I remember correctly there was a fix for Configure for this problem posted a few days ago. You can also get around this by adding -U__STDC__ to the CFLAGS. It worked for me on a 68k platform. -randy -- Randy Welch Mail to : ...!ncar!scicom!bldr!randy or rwelch@du.edu Boulder, CO rwelch@nyx.cs.du.edu or (303) 442-6717 "Unfortunately, life contains an unavoidable element of unpredictability" -David Lynch "The Angriest Dog in the World"