From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96159252206841.tru64-unix-managers.marc@archive.invalid> From: Jim Jennis Date: Wed, 21 Jun 2000 13:05:26 +0000 To: tru64-unix-managers Subject: Summary: Building GNU C 2.9.5.2 on Tru64 5.0 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96159252206841 Hi Tru64 Colleagues! Thanks a MILLION to: Daniel Monjar Malcolm Dunnet Frank Wortner and to the many others who responded to my question(s). For their very quick and accurate answers to my question. I now have gcc 2.9.5.2 happily building on my Tru64 server! Once this is done, hopefully the openssl 0.9.5 build will proceed without errors! Regards, Jim >this is the way to build GCC 2.9# on 5.0. > >----- Forwarded message from Malcolm Dunnett ----- > >Subject: Summary: Building GNU C on Tru64 5.0 >From: Malcolm Dunnett >To: tru64-unix-managers@ornl.gov >Cc: DUNNETT@mala.bc.ca >Date: Tue, 18 Apr 2000 13:55:54 -0800 (PST) > > > I posted a question about how to build GNU C on Tru64 version 5.0 > > The answer is that the configure script which comes with gcc 2.95.2 >doesn't recognize this version of the OS, so you have to either fool >it into configuring for version 4 ( using the --host switch ) or edit >the configure script to include checks for V5.0. I took the latter >approach and it all seemed to work ok. > > Thanks to all who responded. > > I've appended a message I got which describes both of these >options in more detail. > >---------- >Date: Mon, 17 Apr 2000 11:44:22 -0400 >From: Frank Wortner >Subject: Re: Help installing GNU C on Tru64 > >The configure script in GCC hasn't been updated to deal with Tru64 Unix 5.0 >yet. There are three ways of getting around this. > >You can get around this by telling configure to build a 4.0 version -- it >*will* work on 5.0: > > configure --host=alphaev56-dec-osf4.0 > >Change "ev56" to the appropriate version for your machine. > >If that alternative doesn't appeal to you, you can also just leave things >as they are, and edit tm.h in the gcc-2.95.2/gcc directory. Add the >following three lines to the end of the file: > >#ifdef IN_GCC >#include "alpha/osf.h" >#endif > >The source will now compile. Of course, you will have to remember to do >this every time you compile GCC. > >There is a more "permanent" change possible, if you really want to live on >the edge :-). Edit gcc-2.95.2/gcc/configure. Now look for the lines that >read: > > *-*-osf4*) > tm_file="${tm_file} alpha/osf.h" > # Some versions of OSF4 (specifically X4.0-9 296.7) have > # a broken tar, so we use cpio instead. > install_headers_dir=install-headers-cpio > ;; >esac >case $machine in > *-*-osf4.0[b-z] | *-*-osf4.[1-9]*) > target_cpu_default=MASK_SUPPORT_ARCH > ;; >esac > >Change them to: > > *-*-osf[45]*) > tm_file="${tm_file} alpha/osf.h" > # Some versions of OSF4 (specifically X4.0-9 296.7) have > # a broken tar, so we use cpio instead. > install_headers_dir=install-headers-cpio > ;; >esac >case $machine in > *-*-osf4.0[b-z] | *-*-osf4.[1-9]*| *-*-osf5*) > target_cpu_default=MASK_SUPPORT_ARCH > ;; >esac > >Now remove any "config.cache" files you may find in the GCC source >directories, run configure again, and when the dust settles, you should >be able to build GCC on Tru64 Unix 5.0. > >Have fun! > >Frank -------------------------------------------------------- FSC - Building Better Information Technology Solutions- from the Production Floor to the Customer's Door. -------------------------------------------------------- Jim Jennis, Technical Director for Commercial Systems Fuentez Systems Concepts, Inc. 1 Discovery Place, Suite 2 Martinsburg, WV. 25401 USA Phone: +001 (304) 263-0163 ext. 235 Fax: +001 (304) 263-0702 Email: jjennis@discovery.fuentez.com jhjennis@shentel.net WEB: http://www.discovery.fuentez.com/