Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!bcm!dimacs.rutgers.edu!morley.rutgers.edu!purtill From: purtill@morley.rutgers.edu (Mark Purtill) Newsgroups: comp.lang.perl Subject: Re: Perl 4.0 refuses to compile using gcc 1.30 Message-ID: Date: 10 Apr 91 17:34:51 GMT References: <1553@sunc.osc.edu> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 14 khera@thneed.cs.duke.edu (Vick Khera) writes: >don't bother compiling Perl with gcc on a SPARC based machine. it >just is not going to work. the problem is that gcc and Sun's cc pass >structures differently, and the dbm routines take parameters that way. >since the dbm library is compiled using cc, calling those functions >from gcc will cause major league problems. I compiled the file the calls to the dbm routines are in (whichever one that is) with cc and everything else with gcc (v 1.37.1, I think) and everything worked fine. This was perl 3.0 at patchlevel 40, I think. ^.-.^ Mark Purtill purtill@dimacs.rutgers.edu (908)932-4580 (O) ((")) DIMACS, P.O. Box 1179, Rutgers U., Piscataway, NJ 08855 (908)220-6905 (H) ********** Note new area code! We are now (908) rather than (201)! **********