From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14935 invoked by alias); 2 May 2002 08:17:50 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 14894 invoked from network); 2 May 2002 08:17:45 -0000 Received: from unknown (HELO anchor-post-31.mail.demon.net) (194.217.242.89) by sources.redhat.com with SMTP; 2 May 2002 08:17:45 -0000 Received: from mailgate.softwire.co.uk ([62.49.203.138] helo=polarbear) by anchor-post-31.mail.demon.net with esmtp (Exim 3.35 #1) id 173Bma-000EHV-0V; Thu, 02 May 2002 09:17:44 +0100 From: "Rupert Wood" To: Cc: Subject: RE: gcc for HP-UX 11 Date: Thu, 02 May 2002 01:17:00 -0000 Message-ID: <616BE6A276E3714788D2AC35C40CD18D561675@whale.softwire.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <616BE6A276E3714788D2AC35C40CD18D5FB6CB@whale.softwire.co.uk> Importance: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-SW-Source: 2002-05/txt/msg00011.txt.bz2 Charles Chou wrote: > I tried to compile gcc-3.0.4 for HP-UX 11. I got "sh: autoconf: not > found." error during make. How do I get it fixed? Thanks. This is probably a bug in HP make - it's trying to regenerate the configure script when it doesn't actually need to. (You usually see this with a bison dependency, though - I've not seen it with autoconf before.) You need to install and use GNU make. You can get the source from any GNU mirror, and I think it compiles with HP bundled cc (although it's been a while since I tried). If you hit problems, try adding '--disable-nls' to the configure line and trying again; if you want NLS support, rebuild it once you've got GCC up and running. Two side notes: 1, GCC 3.1 will be out soon. (I've lost track of when, though.) 2, the HP bundled assembler won't generate debug symbols (or at least GCC can't make it). If you want to debug your programs, you'll have to build and install GNU binutils - or the assembler at least. If you want to build everything yourself, I'd suggest you: a, build GNU make using the bundled tools b, build and install a C-language-only GCC using GNU make and bundled tools (configure it '--enable-languages=c') c, use the new GCC to build and install GNU binutils d, rebuild GCC with all the languages you want targeting the GNU assemlber (configure it '--with-gnu-as --with-as=') Good luck, Rup.