Xref: utzoo comp.unix.aux:3805 comp.lang.perl:3771 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!usc!apple!uokmax!rmtodd From: rmtodd@uokmax.ecn.uoknor.edu (Richard Michael Todd) Newsgroups: comp.unix.aux,comp.lang.perl Subject: Re: Perl won't compile on AUX Message-ID: <1991Jan31.165406.16781@uokmax.ecn.uoknor.edu> Date: 31 Jan 91 16:54:06 GMT References: <2375@taurus.BITNET> Organization: Engineering Computer Network, University of Oklahoma, Norman, OK Lines: 19 shani@TAURUS.BITNET writes: >Has anyone tried to compile perl on AUX yet? Not only tried, but succeeded :-). > I get the following error: >"eval.c", line 2374: compiler error: switch table overflow Sounds like something in Perl is overflowing the (stupidly) small table sizes in A/UX cc. You might try using the -A (I think) switch to cc to expand the table sizes, or you could do as I did and use gcc. As I recall, it compiles under gcc with only one small problem, related to the include files and the stupid pet tricks Apple did with the _BSD_SOURCE, etc. preprocessor defines. I don't recall the details right offhand, but I can get the couple of lines worth of patches I did if you need. Mail to me if you need them... -- Richard Todd rmtodd@chinet.chi.il.us or rmtodd@uokmax.ecn.uoknor.edu