From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27976 invoked by alias); 20 Dec 2007 09:04:44 -0000 Received: (qmail 27964 invoked by uid 22791); 20 Dec 2007 09:04:44 -0000 X-Spam-Check-By: sourceware.org Received: from mailin.kwsoft.de (HELO mailin.kwsoft.de) (213.164.67.82) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 20 Dec 2007 09:04:34 +0000 Received: from localhost (localhost [127.0.0.1]) by mailin.kwsoft.de (Postfix) with ESMTP id 9B4D87D20C for ; Thu, 20 Dec 2007 10:04:31 +0100 (CET) Received: from mailer.kwsoft.de (mailer.kwsoft.de [10.5.0.1]) by webmail.kwsoft.de (Horde MIME library) with HTTP; Thu, 20 Dec 2007 10:04:31 +0100 Message-ID: <20071220100431.b85i4lcu0wkkg84s@webmail.kwsoft.de> Date: Thu, 20 Dec 2007 09:04:00 -0000 From: Listaccount To: gcc-help@gcc.gnu.org Subject: Re: Problem building gcc-4.2.2 64-bit on hp-ux 11.11, more problems References: <4768E619.1040609@cadenas.de> <20071219122405.8crmniqubok8kwks@webmail.kwsoft.de> <4769057B.1040408@cadenas.de> <476A2E8B.4030005@cadenas.de> In-Reply-To: <476A2E8B.4030005@cadenas.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.5) X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00356.txt.bz2 Zitat von Thomas Mittelstaedt : > With a lot of ugly fixing in generated Makefile's, I got past stage 3, > but now libstdc++ does not build. > The generated config.h in hppa64-hp-hpux11.11/libstdc++-v3 seems to be > wrong, as there is an fabsf and altera > on my system, at least in the headers. That's how we succed after some trouble when compiling GCC 4.2.2 on=20=20 HP-UX 11.11 (PA-RISC) : export CONFIG_SHELL=3D/usr/bin/bash (Installed from OSS Archiv) export LANG=3DC (wird f=FCr gcc 4.x wegen awk/sed auf HPUX und AIX ben=F6tigt!!) export CC=3D We used some gcc 3.4.x in 32/64Bit build Config/Build f=FCr PA-32Bit 4.2.2: ../configure --prefix=3D/opt/gcc-4.2.2= =20=20 --mandir=3D/usr/local/man --with-gnu-as --with-as=3D/usr/local/bin/gnu-as= =20=20 --without-gnu-ld --with-ld=3D/usr/ccs/bin/ld --disable-nls=20=20 --enable-threads=3Dposix --enable-languages=3Dc,c++ Config/Build f=FCr PA-64Bit 4.2.2: ../configure=20=20 --prefix=3D/opt/gcc64-4.2.2 --mandir=3D/usr/local/man=20=20 --with-ar=3D/usr/bin/ar --with-gnu-as --with-as=3D/usr/local/bin/gnu64-as= =20=20 --without-gnu-ld --with-ld=3D/usr/ccs/bin/ld --disable-nls=20=20 --enable-threads=3Dposix --enable-languages=3Dc,c++ Important is to *not* use the OS "as" but use some GNU-as with the=20=20 matching 32/64Bit build. For the "ld" you should use the OS "ld", but=20=20 your system should be on a recent patchlevel. It is useful to have GNU=20=20 "awk" and "sed" instead of the OS ones. For all of the used tools you should always double-check if the=20=20 intentioned one is used by configure. Regards & good luck Andreas