SUMMARY - gcc/g++ 2.7.0 on 3.2C

From: William Flett <will_at_dcs.rhbnc.ac.uk>
Date: Fri, 10 Nov 1995 15:29:03 +0000 (GMT)

 
Original question was :

> Will gcc/g++ 2.7.0 work on DEC UNIX 3.2C ?

 
Original summary :

> Firstly thanks to those who replied but it's pretty inconclusive I'm afraid.
> It appears as if the Gcc source might be broken, but is possibly patched,
> and the binary version will probably work OK. As I've just back to work and
> have the 3.2C disk now, i'll give the upgrade ago and just ensure that we can
> backtrack to 3.2B quickly if required (by cloning the 3.2B system disk).

New summary :

Firstly sorry for not checking old postings thoroughly as the answers were
there (sometime in Aug '95). As someone pointed out 'Is this an FAQ ?'
probably should be.

Basically,

 * gcc-2.7.0 will not build without a simple patch
 * binary gcc/g++ will not work
 * binaries compiled with gcc/g++ will continue to work

 There are two fixes required to the gcc source code (patch entries below) and
 then a complete rebuild and reinstall from a clean source tree is required.

************************** Cut here for patch **************************

  *** config/alpha/alpha.h~ Thu Jun 15 09:08:45 1995
 --- config/alpha/alpha.h Fri Jun 23 13:09:21 1995
 ***************
 *** 43,49 ****
   #define SIGNED_CHAR_SPEC "%{funsigned-char:-D__CHAR_UNSIGNED__}"

   /* No point in running CPP on our assembler output. */
 ! #define ASM_SPEC "-nocpp %{pg}"

   /* Under OSF/1, -p and -pg require -lprof1. */

 --- 43,49 ----
   #define SIGNED_CHAR_SPEC "%{funsigned-char:-D__CHAR_UNSIGNED__}"

   /* No point in running CPP on our assembler output. */
 ! #define ASM_SPEC "-g3 -nocpp %{pg}"

   /* Under OSF/1, -p and -pg require -lprof1. */

************************** Cut here for patch **************************


Many thanks to - (everyone pointed at the same facts)

Dave ? (golden_at_falcon.invincible.com)
Todd S. Antonson (antonson_at_umiacs.umd.edu)
Olle Eriksson (olle_at_cb.uu.se)
Mark Bartelt (mark_at_cita.toronto.edu)
Aidan Williams aidan_at_cse.unsw.edu.au
Eric Baur (ecb_at_nexen.com)
Steven.Kassarjian (Steven.Kassarjian_at_Colorado.EDU)
Dan Riley (dsr_at_lns598.lns.cornell.edu)
Kevin Oberman (oberman_at_nersc.gov)


 -Will

Computer Science Department | mail: W.Flett_at_dcs.rhbnc.ac.uk
Royal Holloway, University of London | talk: +44 1784 443428 (direct)
Egham, Surrey TW20 0EX, England | fax: +44 1784 443420
Received on Fri Nov 10 1995 - 17:15:11 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT