Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!caen!malgudi!sunc.osc.edu!cgrg.ohio-state.EDU!phil From: phil@cgrg.ohio-state.EDU (Phil Ritzenthaler) Newsgroups: comp.lang.perl Subject: Re: Perl 4.0 refuses to compile using gcc 1.30 Message-ID: <1557@sunc.osc.edu> Date: 12 Apr 91 17:15:45 GMT References: <1553@sunc.osc.edu> <128361@uunet.UU.NET> Sender: news@osc.edu Reply-To: phil@cgrg.ohio-state.edu Organization: Advanced Computing Center for Arts & Design Lines: 28 Nntp-Posting-Host: fac1.cgrg.ohio-state.edu In article <128361@uunet.UU.NET>, rbj@uunet.UU.NET (Root Boy Jim) writes: |> >In article khera@thneed.cs.duke.edu (Vick Khera) writes: |> > |> > the problem is that gcc and Sun's cc pass structures differently, and |> > the dbm routines take parameters that way. |> |> Of course some of us think that passing, returning, and assigning |> structures is A BAD THING and never should have been legalized. |> |> Fortunately, only the DBM people were stupid enuf to use it. I did as a person from MIT suggested (thanks) and commented out the ifdef's around the environ variables and got perl 4.0 to work with gcc . . . kinda. It fails the test perl/t/op/dbm.t . . . hence the reply to the posting from rbj@uunet.UU.NET. Since these structures are passed, is dbm.t EXPECTED to fail if you use the gcc compiler? They all pass using Sun's cc . . . of course who said Sun's cc was a standard?? Sometimes I'd just like to take another's advice and give up on gcc and perl, but right now I feel this shouldn't be . . . Any takers?? Thanks . . . Phil Ritzenthaler The Advanced Computing Center for the Arts & Design (ACCAD) Systems Manager The Ohio State University UUCP: ...!{pyramid,killer}!grumpy.cgrg.ohio-state.edu!phil (614) 292-3416 ARPA: phil@grumpy.cgrg.ohio-state.edu