From: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Subject: Re: compile gcc on tru64
Date: Wed, 12 Oct 2011 17:07:34 +0200 [thread overview]
Message-ID: <ydd1uui6yfd.fsf@manam.CeBiTec.Uni-Bielefeld.DE> (raw)
In-Reply-To: Lyhlq.804$ot3.320@newsfe05.ams2
ChrisQ <meru@devnull.com> writes:
> On 01/12/08 19:30, Thomas Dickey wrote:
>> Steven Hirsch<snhirsch@gmail.com> 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 <mydir>/gcc-4.6.0 and <mydir>/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
prev parent reply other threads:[~2011-10-12 15:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-04 15:31 compile gcc on tru64 zubi
2008-01-05 13:02 ` Michael Kraemer
[not found] ` <slrn4fo3kf9.dhg8.p2h56vc7@pax07e3.mipool.uni-jena.de>
2008-01-12 13:36 ` Steven Hirsch
2008-01-12 19:30 ` Thomas Dickey
2011-10-12 14:33 ` ChrisQ
2011-10-12 15:07 ` Rainer Orth [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox