home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / perl / 7616 < prev    next >
Encoding:
Text File  |  1992-12-27  |  1.1 KB  |  34 lines

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