Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!bu.edu!nntp-read!jbw From: jbw@bigbird.bu.edu (Joe Wells) Newsgroups: comp.lang.perl Subject: Re: Perl 4.0 refuses to compile using gcc 1.30 Message-ID: Date: 10 Apr 91 17:40:57 GMT References: <1553@sunc.osc.edu> Sender: news@bu.edu.bu.edu Organization: Boston University Computer Science Department Lines: 13 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: 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. what about using gcc's -fpcc-struct-return, you may ask? well, that works for structure *returns* not structure passing. What files have to be compiled with cc to make the dbm stuff work? I hope not all of them! -- Joe Wells