home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / perl / 4919 < prev    next >
Encoding:
Text File  |  1992-07-23  |  9.0 KB  |  206 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!uvaarpa!mmdf
  3. From: "Mark W. Eichin" <eichin@cygnus.com>
  4. Subject: re: Perl "patches" for solaris 2.0
  5. Message-ID: <1992Jul23.200311.27798@uvaarpa.Virginia.EDU>
  6. Sender: mmdf@uvaarpa.Virginia.EDU (Mail System)
  7. Reply-To: eichin@cygnus.com
  8. Organization: The Internet
  9. Date: Thu, 23 Jul 1992 20:03:11 GMT
  10. Lines: 194
  11.  
  12. meyer@darkwing.uoregon.edu (David M. Meyer 503/346-1747) writes:
  13. |> Does anyone know if perl for Solaris 2.0 (sparc) is in
  14. |>           there works anywhere?
  15.  
  16. tony.bennett@East.Sun.COM replies:
  17. |> I just let Configure (4.035) deal with it.
  18. |> No surprises, except that I had to disable the
  19. |> optimizer for util.c/tutil.c (was getting core dumps).
  20.  
  21. Briefly:
  22.     I just built perl-4.035 with the recently released GNU C for
  23. Solaris 2. It built at -g -O and passed all tests. I basically
  24. left everything at the default values (including "none" for the hints
  25. file, and "y" for "are the system libraries compiled with gcc" since
  26. that doesn't matter on the sparc w/gcc2.) Be sure to take -lmalloc out
  27. of the libraries list (and add -lm -- there is one supplied with gcc.)
  28.     Cygnus Support and the Free Software Foundation have ported
  29. the GNU C Compiler and GNU Debugger to Sun's Solaris-2 operating
  30. system. It is available via ftp, uucp, on tape, and will be out later
  31. this year on the SunSoft Catalyst CDware(tm) Volume 4 disc. More
  32. detailed information on obtaining the GNU C Compiler and support for
  33. it are included at the end of this posting.
  34.  
  35.                     _Mark_ <eichin@cygnus.com>
  36.                     Cygnus Support
  37.                     One Kendall Square
  38.                     Cambridge, MA 02138 (617)494-1068
  39.  
  40. ============================================================================
  41. Detailed answers:
  42.  
  43.     I made a few tweaks which probably ought to be integrated into
  44. the main release:
  45.     1) I fixed a few places which called echo $n $rp to call
  46. $echo; turns out that /bin/echo supports \c but not -n, while the
  47. builtin sh echo supports -n but not \c -- so you can't "fall back" to
  48. \c when they disagree...
  49.         $ echo foo \\c
  50.         foo \c
  51.         $ /bin/echo foo \\c     
  52.         foo $ echo -n foo
  53.         foo$ /bin/echo -n foo
  54.         -n foo
  55. Having it not fall back but simply use different options for different
  56. echos is probably enough.
  57.     2) I cut out the case that adds -D__GNUC__ to the CFLAGS (gcc
  58. flamed (warned) about the redefinition.)
  59.     3) I changed the memcpy and memset declarations in perl.h to
  60. say void* instead of char*. This should probably be conditionalized.
  61.  
  62.     I also did a few things specific to working with gcc:
  63.     1) I told it to use gcc.
  64.     2) I told it to use -g -O (-g first, so it threw in -DDEBUGGING)
  65.     3) At the libraries line, it found -lsocket -lnsl -lmalloc.
  66. The first two are ok; -lmalloc *IS BROKEN*. It gets you
  67. /usr/ccs/lib/libmalloc.a, which only gives back 4-byte aligned data.
  68. Under Solaris 2, doubles need to be aligned to 8-bytes... the man page
  69. indicates:
  70. |     Each of the allocation routines returns a pointer  to  space
  71. |     suitably  aligned  (after  possible  pointer  coercion)  for
  72. |     storage of any type of object.
  73. but the libmalloc.a version does not comply. (This may be a cause of
  74. the optimizer related bugs seen in util.c, since that's the first
  75. place it does a double store...)
  76.  
  77.     Additionally, since we have the SUNWste C compiler as well, I
  78. tweaked the Configure script to look at /opt/cygnus/bin before
  79. /usr/ccs/bin, and *not* to look in /opt/SUNWste/bin so that it didn't
  80. use the commercial compiler. This was only necessary in order to make
  81. sure that it would work for someone who had GCC and didn't have the
  82. non-free compiler.
  83.  
  84. ============================================================================
  85. Announcement:
  86.  
  87. Subject: GNU C and GDB for Solaris-2 are available!
  88. To: info-gnu@prep.ai.mit.edu, info-gcc@prep.ai.mit.edu,
  89. Cc: gnu@cygnus.com, solaris-compiler@cygnus.com
  90. Reply-To: solaris-compiler@cygnus.com
  91. Date: Fri, 17 Jul 92 22:05:05 -0700
  92. From: gnu@cygnus.com
  93. Resent-From: info-gcc-request@prep.ai.mit.edu
  94.  
  95. Cygnus Support and the Free Software Foundation have ported the GNU C
  96. Compiler and GNU Debugger to Sun's Solaris-2 operating system.
  97. Easy-to-install sources and binaries are available now.
  98.  
  99. The release is available from UUNET Technologies by FTP, uunet uucp, or
  100. 900-number uucp.  It is also available on tape from Cygnus for $700
  101. with printed documentataion and installation support, or you can get
  102. a tape, manuals, and one year's support for five users for $3000.  The
  103. software will also appear on the SunSoft Catalyst CDware (tm) Volume 4
  104. disc, which will be published later this year.
  105.  
  106. Like all GNU software, there are no restrictions on who can use it,
  107. how many people can use it at a time, what machines it can be run on,
  108. or how many copies you can install, run, give away, or sell.
  109.  
  110. Some compiler vendors portray GNU software as only useful for casual
  111. users.  They claim that you need a proprietary compiler if you are a
  112. "professional developer".
  113.  
  114. We suggest that professional developers examine our compiler at no cost
  115. -- including its source code.  You'll find it a highly professional
  116. product.  If you end up depending on it for your critical projects,
  117. Cygnus can offer you highly professional support, too.  All software
  118. has bugs, and our commercial-quality support will keep any compiler
  119. troubles from delaying your projects.
  120.  
  121. The online release is packaged with separate binaries and sources.
  122. Only the binary tar file is required to compile and debug C programs;
  123. it also includes the online documentation.  To produce high quality
  124. printed documentation using TeX, you will need the sources.
  125. The following files are available:
  126.  
  127. -rw-r--r--   1 86    21      28258 Jul 15 07:24 INSTALL
  128. -rw-r--r--   1 86    21      12697 Jul 16 20:11 README
  129. -rw-r--r--   1 86    21    5851617 Jul 16 18:10 cygnus-sol2-1.0.bin.tar.Z
  130. -rw-r--r--   1 86    21   10573106 Jul 16 18:53 cygnus-sol2-1.0.src.tar.Z
  131.  
  132. By Anonymous FTP:    ftp.uu.net:/packages/cygnus/...
  133. By uucp:        uunet!~/packages/cygnus/...
  134. Using +1 900 GOT SRCS:    uunet!~/packages/cygnus/...
  135.  
  136. Any site in the US running UUCP may call uunet at +1 900 GOT SRCS and
  137. use the login "uucp" to retrieve these files.  There is no password.
  138. Your phone company will bill you $0.50 per minute for the call.
  139.  
  140. We expect to offer C++, as well as a release for Solaris-2 on IBM PCs,
  141. later this year.
  142.  
  143. We have contributed our changes for Solaris-2 support to the Free
  144. Software Foundation, so that the FSF can incorporate them into future
  145. releases as well.  We have already released Solaris-2 support in this
  146. week's gdb-4.6 release.
  147.  
  148. Cygnus Support and FSF are grateful to the forward-looking individuals and
  149. organizations that supported this project:
  150.  
  151.    * Amoco Production Company (Houston, Texas)
  152.    * BBN Communications (Cambridge, Massachusetts)
  153.    * Boston Technology (Wakefield, Massachusetts)
  154.    * Cirrus Logic (Fremont, California)
  155.    * Compaq Computer Corporation (Houston, Texas)
  156.    * Deere & Company (Moline, Illinois)
  157.    * ELF Commnuications (San Francisco, California)
  158.    * European Computer-Industry Research Centre GMBH (Munich)
  159.    * Fidelity Investments (Boston, Massachusetts)
  160.    * FTP Software, Inc. (Wakefield, Massachusetts)
  161.    * Gallagher & Robertson (Oslo, Norway)
  162.    * GTE Laboratories (Waltham, Massachusetts)
  163.    * Ingres Corporation (Alameda, California)
  164.    * Inland Sea (Dexter, Michigan)
  165.    * Los Alamos National Laboratory (Los Alamos, New Mexico)
  166.    * Miller/Howard Investures (Cobleskill, New York)
  167.    * MIT Lincoln Laboratory (Lexington, Massachusetts)
  168.    * NASA Lewis Research Center (Cleveland, Ohio)
  169.    * Optimation Software (Melbourne, Australia)
  170.    * PFU Limited (Tokyo)
  171.    * Philips Laboratories (Briarcliff Manor, New York)
  172.    * Pure Software (Los Altos, California)
  173.    * Qualix Group, Inc. (San Mateo, California)
  174.    * Schlumberger-Doll Research (Ridgefield, Connecticut)
  175.    * Kevin Sheehan (Melbourne, Australia and elsewhere)
  176.    * State University of New York (SUNY) at Buffalo
  177.    * SunSoft, Inc. (Mountain View, California)
  178.    * Technische Universitaet Muenchen (Munich)
  179.    * Telecom Finland (Helsinki)
  180.    * Telecom Research Labs (Victoria, Australia)
  181.    * Union Bank of Switzerland (Zurich)
  182.    * University of Pennsylvania (Philadelphia)
  183.    * University of Washington (Seattle)
  184.    * UUNET Technologies, Inc. (Falls Church, Virginia)
  185.    * Warwick University (Coventry, England)
  186.    * Xerox Palo Alto Research Center (Palo Alto, California)
  187.  
  188. We are also grateful to six other organizations and individuals who
  189. contributed to this project, but who prefer to remain anonymous.
  190.  
  191.      The Cygnus Support Solaris-2 development team
  192.  
  193.      (David Vinayak Henkel-Wallace, David Zuhn, Jeffrey Osier, Jim Wilson,
  194.      John Gilmore, Ken Raeburn, Mark W. Eichin, Paula Vancini, Roland Pesch,
  195.      Steve Wilson, Stu Grossman, and Sun Ming Lieu)
  196.  
  197.      Cygnus Support            Free Software Foundation
  198.      814 University Avenue        675 Massachusetts Avenue
  199.      Palo Alto, CA 94301        Cambridge, MA  02139
  200.      USA                USA
  201.      phone:   +1 415 322 3811        phone:    +1 617 876 3296
  202.      email:   `info@cygnus.com'        email:    `gnu@prep.ai.mit.edu'
  203.      fax:     +1 415 322 3270
  204.  
  205. ============================================================================
  206.