From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,b0324a93e21e0e98 X-Google-NewGroupId: yes X-Google-Attributes: gide63b27eb52,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.38.134 with SMTP id g6mr1067721pbk.6.1318432056257; Wed, 12 Oct 2011 08:07:36 -0700 (PDT) Path: d5ni2593pbc.0!nntp.google.com!news1.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail From: Rainer Orth Newsgroups: comp.unix.tru64 Subject: Re: compile gcc on tru64 Date: Wed, 12 Oct 2011 17:07:34 +0200 Organization: Center for Biotechnology, Bielefeld University Message-ID: References: <6f3cf648-c964-44b1-a3f2-209f44348fb1@1g2000hsl.googlegroups.com> <13oi5aqs2t0ok39@corp.supernews.com> Mime-Version: 1.0 X-Trace: news.dfncis.de QVvdQpB2GnaLtJxmqcgHwQD4oZGEJsiJlK7xpqodhhc/HB Cancel-Lock: sha1:tr+J115ieEU8Efbj1Obs90lI+RU= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (usg-unix-v) Xref: news1.google.com comp.unix.tru64:237 Content-Type: text/plain; charset=us-ascii ChrisQ writes: > On 01/12/08 19:30, Thomas Dickey wrote: >> Steven Hirsch wrote: >>>> >>>> cd gcc-4.2.2 >>>> mkdir o >>>> cd o Please don't try to build in a subdir of the srcdir, but rather use e.g. a parellel one, like /gcc-4.6.0 and /gcc-4.6.0-obj. The other configuration is tested rarely if at all by maintainers and far more likely not to work. Apart from that, unless there are very important reasons to do otherwise, try the latest released version (4.6.1 currently) first since all bugfixes and improvements go there first, only sometimes to be backported to older releases. >>>> ../configure --enable-languages=c,c++ --disable-nls >>>> gmake bootstrap >> >>> I'd only add that, on some platforms, it helps to have GNU bash available as >>> the shell. But I agree that it's most likely a brain-dead OEM make binary. >> >> In the case of gcc, it's arguably brain-dead developers at fault (who removed >> support for non-GNU make several years ago). I've you've have fought with the differences in vendor makes on large projects, you may understand better why they chose to require gmake. > On sun machines, I found that the distributed tar doesn't work and you must > use > gnu tar, otherwise, some files and directories won't be properly > expanded. Most > likely the same for tru64. I rarely build from tarballs these days, but this may indeed be an issue. > I built 2.95 for Tru64 cross to 68k around 2003 and it was a real saga, > fwir, but > eventually did get it all working. The machine is in store at present, but > could > check out to see what config options and other s/w was involved, if you > can't get > it running otherwise. My advise (I happen to be the Tru64 UNIX gcc maintainer) is to start with as few configure options as possible (preferably only necessary paths and locations of support libs like gmp/mpfr/mpc), and leave everything else as a default. If this doesn't work, please file a bug report. I've often found that configure options that might have had some justification years ago are still carried forward and often only cause trouble. > Generally, for gcc builds, you need to have a load of other gnu stuff > preinstalled / > built on the machine. flex, bison, make gtar, spring to mind, but there are > probably > more... Please read and follow the install docs corresponding to the release you're trying to install (gcc.gnu.org is for svn mainline only) prior to attempting a build. You don't need flex and bison these days since the generated files are in the tarballs. The list increase if you try to build from svn or want to modify sources. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University