From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075325006567.tru64-unix-managers.marc@archive.invalid> From: William Flett Date: Fri, 10 Nov 1995 15:29:03 +0000 To: tru64-unix-managers Subject: SUMMARY - gcc/g++ 2.7.0 on 3.2C X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075325006567 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@falcon.invincible.com) Todd S. Antonson (antonson@umiacs.umd.edu) Olle Eriksson (olle@cb.uu.se) Mark Bartelt (mark@cita.toronto.edu) Aidan Williams aidan@cse.unsw.edu.au Eric Baur (ecb@nexen.com) Steven.Kassarjian (Steven.Kassarjian@Colorado.EDU) Dan Riley (dsr@lns598.lns.cornell.edu) Kevin Oberman (oberman@nersc.gov) -Will Computer Science Department | mail: W.Flett@dcs.rhbnc.ac.uk Royal Holloway, University of London | talk: +44 1784 443428 (direct) Egham, Surrey TW20 0EX, England | fax: +44 1784 443420