From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,b0324a93e21e0e98 X-Google-Attributes: gidfa528,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeedt0.toon.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Michael Kraemer Newsgroups: comp.unix.tru64 Subject: Re: compile gcc on tru64 Date: Sat, 05 Jan 2008 14:02:53 +0100 Organization: T-Online Message-ID: References: <6f3cf648-c964-44b1-a3f2-209f44348fb1@1g2000hsl.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.t-online.com 1199538126 02 11921 9pjt1aX6kfea+nl 080105 13:02:06 X-Complaints-To: usenet-abuse@t-online.de X-ID: bi4VdrZcYeAtzLG6IpTXB1ahXNuIgrLIOhHtVG61Egmrtlxsl4dfrD User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; de-DE; rv:1.3) Gecko/20030616 X-Accept-Language: en-us, en In-Reply-To: <6f3cf648-c964-44b1-a3f2-209f44348fb1@1g2000hsl.googlegroups.com> Xref: g2news1.google.com comp.unix.tru64:1183 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.