Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Michael Kraemer <M.Kraemer@gsi.de>
Subject: Re: compile gcc on tru64
Date: Sat, 05 Jan 2008 14:02:53 +0100	[thread overview]
Message-ID: <flnv4d$bkh$02$1@news.t-online.com> (raw)
In-Reply-To: <6f3cf648-c964-44b1-a3f2-209f44348fb1@1g2000hsl.googlegroups.com>

zubi schrieb:
> I'm trying to build a recent version of gcc on an aging tru64 v5.1B
> machine. It has an older version
> of gcc (older than 2.95.3) and a compaq C compiler (V6.5-207).
> 
> configure runs successfully with no variables. Running the makefile I
> get
> 
> LOCK:   -f stage_final
>  || echo stage3 > stage_final
> sh: syntax error at line 1: '||' unexepcted
> *** Exit 2
> Stop.

just a wild guess:
It may be some missing or superfluous "\"
at the end of a line.
Sometimes Makefiles are broken or never ran
on the desired target platform,
and this kind of sloppiness goes undetected
on the developer's machine.

> I have no variables set for CC, CPFLAGS etc. I set environment
> variable CC to point to the
> C compiler and run  "make -i". It runs for a while but ultimately
> fails while repeatedly complaining:
> 
> Checking for C compiler default output file name... configure: error:
> C compiler cannot create executables
> 

Another wild guess:
Repeatedly I found "configure" checks to fail because
the test procedures sometimes create "conftest" as a file,
and sometimes as a directory. To get rid of it,
"rm -f" may not be enough, a "rm -rf" might be necessary,
so change the script(s) accordingly.
That was on HP-UX, but might apply to Tru64 as well.



  reply	other threads:[~2008-01-05 13:02 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 [this message]
     [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
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