home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!uvaarpa!mmdf
- From: "Mark W. Eichin" <eichin@cygnus.com>
- Subject: re: Perl "patches" for solaris 2.0
- Message-ID: <1992Jul23.200311.27798@uvaarpa.Virginia.EDU>
- Sender: mmdf@uvaarpa.Virginia.EDU (Mail System)
- Reply-To: eichin@cygnus.com
- Organization: The Internet
- Date: Thu, 23 Jul 1992 20:03:11 GMT
- Lines: 194
-
- meyer@darkwing.uoregon.edu (David M. Meyer 503/346-1747) writes:
- |> Does anyone know if perl for Solaris 2.0 (sparc) is in
- |> there works anywhere?
-
- tony.bennett@East.Sun.COM replies:
- |> I just let Configure (4.035) deal with it.
- |> No surprises, except that I had to disable the
- |> optimizer for util.c/tutil.c (was getting core dumps).
-
- Briefly:
- I just built perl-4.035 with the recently released GNU C for
- Solaris 2. It built at -g -O and passed all tests. I basically
- left everything at the default values (including "none" for the hints
- file, and "y" for "are the system libraries compiled with gcc" since
- that doesn't matter on the sparc w/gcc2.) Be sure to take -lmalloc out
- of the libraries list (and add -lm -- there is one supplied with gcc.)
- Cygnus Support and the Free Software Foundation have ported
- the GNU C Compiler and GNU Debugger to Sun's Solaris-2 operating
- system. It is available via ftp, uucp, on tape, and will be out later
- this year on the SunSoft Catalyst CDware(tm) Volume 4 disc. More
- detailed information on obtaining the GNU C Compiler and support for
- it are included at the end of this posting.
-
- _Mark_ <eichin@cygnus.com>
- Cygnus Support
- One Kendall Square
- Cambridge, MA 02138 (617)494-1068
-
- ============================================================================
- Detailed answers:
-
- I made a few tweaks which probably ought to be integrated into
- the main release:
- 1) I fixed a few places which called echo $n $rp to call
- $echo; turns out that /bin/echo supports \c but not -n, while the
- builtin sh echo supports -n but not \c -- so you can't "fall back" to
- \c when they disagree...
- $ echo foo \\c
- foo \c
- $ /bin/echo foo \\c
- foo $ echo -n foo
- foo$ /bin/echo -n foo
- -n foo
- Having it not fall back but simply use different options for different
- echos is probably enough.
- 2) I cut out the case that adds -D__GNUC__ to the CFLAGS (gcc
- flamed (warned) about the redefinition.)
- 3) I changed the memcpy and memset declarations in perl.h to
- say void* instead of char*. This should probably be conditionalized.
-
- I also did a few things specific to working with gcc:
- 1) I told it to use gcc.
- 2) I told it to use -g -O (-g first, so it threw in -DDEBUGGING)
- 3) At the libraries line, it found -lsocket -lnsl -lmalloc.
- The first two are ok; -lmalloc *IS BROKEN*. It gets you
- /usr/ccs/lib/libmalloc.a, which only gives back 4-byte aligned data.
- Under Solaris 2, doubles need to be aligned to 8-bytes... the man page
- indicates:
- | Each of the allocation routines returns a pointer to space
- | suitably aligned (after possible pointer coercion) for
- | storage of any type of object.
- but the libmalloc.a version does not comply. (This may be a cause of
- the optimizer related bugs seen in util.c, since that's the first
- place it does a double store...)
-
- Additionally, since we have the SUNWste C compiler as well, I
- tweaked the Configure script to look at /opt/cygnus/bin before
- /usr/ccs/bin, and *not* to look in /opt/SUNWste/bin so that it didn't
- use the commercial compiler. This was only necessary in order to make
- sure that it would work for someone who had GCC and didn't have the
- non-free compiler.
-
- ============================================================================
- Announcement:
-
- Subject: GNU C and GDB for Solaris-2 are available!
- To: info-gnu@prep.ai.mit.edu, info-gcc@prep.ai.mit.edu,
- Cc: gnu@cygnus.com, solaris-compiler@cygnus.com
- Reply-To: solaris-compiler@cygnus.com
- Date: Fri, 17 Jul 92 22:05:05 -0700
- From: gnu@cygnus.com
- Resent-From: info-gcc-request@prep.ai.mit.edu
-
- Cygnus Support and the Free Software Foundation have ported the GNU C
- Compiler and GNU Debugger to Sun's Solaris-2 operating system.
- Easy-to-install sources and binaries are available now.
-
- The release is available from UUNET Technologies by FTP, uunet uucp, or
- 900-number uucp. It is also available on tape from Cygnus for $700
- with printed documentataion and installation support, or you can get
- a tape, manuals, and one year's support for five users for $3000. The
- software will also appear on the SunSoft Catalyst CDware (tm) Volume 4
- disc, which will be published later this year.
-
- Like all GNU software, there are no restrictions on who can use it,
- how many people can use it at a time, what machines it can be run on,
- or how many copies you can install, run, give away, or sell.
-
- Some compiler vendors portray GNU software as only useful for casual
- users. They claim that you need a proprietary compiler if you are a
- "professional developer".
-
- We suggest that professional developers examine our compiler at no cost
- -- including its source code. You'll find it a highly professional
- product. If you end up depending on it for your critical projects,
- Cygnus can offer you highly professional support, too. All software
- has bugs, and our commercial-quality support will keep any compiler
- troubles from delaying your projects.
-
- The online release is packaged with separate binaries and sources.
- Only the binary tar file is required to compile and debug C programs;
- it also includes the online documentation. To produce high quality
- printed documentation using TeX, you will need the sources.
- The following files are available:
-
- -rw-r--r-- 1 86 21 28258 Jul 15 07:24 INSTALL
- -rw-r--r-- 1 86 21 12697 Jul 16 20:11 README
- -rw-r--r-- 1 86 21 5851617 Jul 16 18:10 cygnus-sol2-1.0.bin.tar.Z
- -rw-r--r-- 1 86 21 10573106 Jul 16 18:53 cygnus-sol2-1.0.src.tar.Z
-
- By Anonymous FTP: ftp.uu.net:/packages/cygnus/...
- By uucp: uunet!~/packages/cygnus/...
- Using +1 900 GOT SRCS: uunet!~/packages/cygnus/...
-
- Any site in the US running UUCP may call uunet at +1 900 GOT SRCS and
- use the login "uucp" to retrieve these files. There is no password.
- Your phone company will bill you $0.50 per minute for the call.
-
- We expect to offer C++, as well as a release for Solaris-2 on IBM PCs,
- later this year.
-
- We have contributed our changes for Solaris-2 support to the Free
- Software Foundation, so that the FSF can incorporate them into future
- releases as well. We have already released Solaris-2 support in this
- week's gdb-4.6 release.
-
- Cygnus Support and FSF are grateful to the forward-looking individuals and
- organizations that supported this project:
-
- * Amoco Production Company (Houston, Texas)
- * BBN Communications (Cambridge, Massachusetts)
- * Boston Technology (Wakefield, Massachusetts)
- * Cirrus Logic (Fremont, California)
- * Compaq Computer Corporation (Houston, Texas)
- * Deere & Company (Moline, Illinois)
- * ELF Commnuications (San Francisco, California)
- * European Computer-Industry Research Centre GMBH (Munich)
- * Fidelity Investments (Boston, Massachusetts)
- * FTP Software, Inc. (Wakefield, Massachusetts)
- * Gallagher & Robertson (Oslo, Norway)
- * GTE Laboratories (Waltham, Massachusetts)
- * Ingres Corporation (Alameda, California)
- * Inland Sea (Dexter, Michigan)
- * Los Alamos National Laboratory (Los Alamos, New Mexico)
- * Miller/Howard Investures (Cobleskill, New York)
- * MIT Lincoln Laboratory (Lexington, Massachusetts)
- * NASA Lewis Research Center (Cleveland, Ohio)
- * Optimation Software (Melbourne, Australia)
- * PFU Limited (Tokyo)
- * Philips Laboratories (Briarcliff Manor, New York)
- * Pure Software (Los Altos, California)
- * Qualix Group, Inc. (San Mateo, California)
- * Schlumberger-Doll Research (Ridgefield, Connecticut)
- * Kevin Sheehan (Melbourne, Australia and elsewhere)
- * State University of New York (SUNY) at Buffalo
- * SunSoft, Inc. (Mountain View, California)
- * Technische Universitaet Muenchen (Munich)
- * Telecom Finland (Helsinki)
- * Telecom Research Labs (Victoria, Australia)
- * Union Bank of Switzerland (Zurich)
- * University of Pennsylvania (Philadelphia)
- * University of Washington (Seattle)
- * UUNET Technologies, Inc. (Falls Church, Virginia)
- * Warwick University (Coventry, England)
- * Xerox Palo Alto Research Center (Palo Alto, California)
-
- We are also grateful to six other organizations and individuals who
- contributed to this project, but who prefer to remain anonymous.
-
- The Cygnus Support Solaris-2 development team
-
- (David Vinayak Henkel-Wallace, David Zuhn, Jeffrey Osier, Jim Wilson,
- John Gilmore, Ken Raeburn, Mark W. Eichin, Paula Vancini, Roland Pesch,
- Steve Wilson, Stu Grossman, and Sun Ming Lieu)
-
- Cygnus Support Free Software Foundation
- 814 University Avenue 675 Massachusetts Avenue
- Palo Alto, CA 94301 Cambridge, MA 02139
- USA USA
- phone: +1 415 322 3811 phone: +1 617 876 3296
- email: `info@cygnus.com' email: `gnu@prep.ai.mit.edu'
- fax: +1 415 322 3270
-
- ============================================================================
-