home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!noc.near.net!meiko.com!mike
- From: mike@meiko.com (Mike Stok)
- Subject: gcc2.3.[23] and caller (EXPR)
- Message-ID: <1992Dec27.220150.2403@meiko.com>
- Sender: news@meiko.com
- Organization: Meiko Scientific Corp.
- Date: Sun, 27 Dec 1992 22:01:50 GMT
- Lines: 23
-
- I was playing with a perl program which used caller in a package, and
- to make the error reporting more useful I thought I'd try caller
- (EXPR) to find my way out of the package back to the something the
- user might recognise (like a line & filename...). Anyway that caused
- a segmentation violation using my perl 4.035 compiled with gcc 2.3.2
- and 2.3.3 under SunOS 4.1.1 on a SPARCStation 1. It all works fine
- using the cc supplied by Sun.
-
- (But, another part of the package which uses chat2.pl and worked OK
- with the gcc compiled perl now fails ~75% of the time when using the
- Sun cc version...)
-
- So can anyone tell me how to configure perl so that I can use caller
- ($x) and a perl generated by gcc?
-
- Thanks in advance,
-
- Mike
- --
- The "usual disclaimers" apply. |
- Mike Stok |
- mike@meiko.com |
- Meiko tel: (617) 890 7676 |
-