public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
[parent not found: <no.id>]
* Re: gcc-64 on HP-UX 11.00
@ 2002-04-04 12:02 John David Anglin
  0 siblings, 0 replies; 32+ messages in thread
From: John David Anglin @ 2002-04-04 12:02 UTC (permalink / raw)
  To: gcc

> As I've seen on the gcc web site, HP-UX 11.00 has been promoted to primary
> target site. I've got no trouble building gcc in 32 bit mode, but building a
> 64bit gcc is still almost impossible.

Can you be more specific?  I think that once you get a good set of tools
installed you won't have any trouble building 64bit gcc.  This is not to
say that that there aren't lots of issues with hppa64 but I am not having
problems doing builds anymore.

> I've got
> 
>	The latest HP-UX 11.00 with the latest patches
> 	The latest C compiler (B.11.11.04 HP C/ANSI C Compiler)
> 	Several ports of gcc
> 		3.0.4/32
> 		3.0.1/64
> 		3.0.2/64
> 	binutils-2.11.90/64
> 	binutils-2.12/64

Here are my suggestions.  Use the latest binutils.  It has fixes that
affect hppa64.  Don't use 2.11.90.  Build it with the HP ANSI compiler
(ie, use "-Ae +DA2.0W" in your CFLAGS).  Gcc may miscompile the
linker causing it to dump core linking shared libraries.  Whether
this is still a problem, I'm not sure.

For gcc, use either the 3.1 branch or the unstable 3.2 trunk.  You
should be able to bootstrap it using CC="cc -Ae +DA2.0W" or with
a working version of gcc for hppa64.  Use the GNU binutils and specify
the locations for as and ld using --with-as and --with-ld.  Run
the testsuite to see if things are working.  There are some problems
with shared libraries so it's probably better not to specify
--enable-shared in your configure options.

These are the gcc configure options that I use:

--host=hppa64-hp-hpux11.11 --with-gnu-as --with-as=/opt/gnu64/bin/as --with-gnu-ld --with-ld=/opt/gnu64/bin/ld --disable-nls --prefix=/opt/gnu64

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

^ permalink raw reply	[flat|nested] 32+ messages in thread
* gcc-64 on HP-UX 11.00
@ 2002-04-04  2:03 H.Merijn Brand
  2002-04-04  8:22 ` law
       [not found] ` <200204041958.g34JwTbA011272@hiauly1.hia.nrc.ca>
  0 siblings, 2 replies; 32+ messages in thread
From: H.Merijn Brand @ 2002-04-04  2:03 UTC (permalink / raw)
  To: gcc

As I've seen on the gcc web site, HP-UX 11.00 has been promoted to primary
target site. I've got no trouble building gcc in 32 bit mode, but building a
64bit gcc is still almost impossible.

Is there a preferred way to build from the latest snapshot? Do you want more
specific messages about the problems?

I'm not into the gcc sources, but somehow I seem to be willing to function as
a compile farm.

I've got

	The latest HP-UX 11.00 with the latest patches
	The latest C compiler (B.11.11.04 HP C/ANSI C Compiler)
	Several ports of gcc
		3.0.4/32
		3.0.1/64
		3.0.2/64
	binutils-2.11.90/64
	binutils-2.12/64

-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.7.3 & 631 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
  WinNT 4, Win2K pro & WinCE 2.11.  Smoking perl CORE: smokers@perl.org
http://archives.develooper.com/daily-build@perl.org/   perl-qa@perl.org
send smoke reports to: smokers-reports@perl.org, QA: http://qa.perl.org

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2002-04-16 22:23 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020411221308.416D.H.M.BRAND@hccnet.nl>
     [not found] ` <200204112027.g3BKR6DK001129@hiauly1.hia.nrc.ca>
2002-04-12  3:19   ` gcc-64 on HP-UX 11.00 H.Merijn Brand
2002-04-12  4:39     ` H.Merijn Brand
2002-04-12  5:08       ` H.Merijn Brand
2002-04-12  9:34       ` John David Anglin
2002-04-13 10:40       ` John David Anglin
2002-04-15  8:45         ` law
2002-04-15  9:46           ` John David Anglin
2002-04-15 10:05             ` law
2002-04-15 11:42               ` John David Anglin
     [not found] <no.id>
2002-04-10 15:30 ` John David Anglin
2002-04-11 10:25 ` John David Anglin
2002-04-11 10:43   ` H.Merijn Brand
2002-04-11 11:04   ` law
2002-04-15 13:39 ` John David Anglin
2002-04-16 13:14   ` law
2002-04-16 15:25     ` John David Anglin
2002-04-04 12:02 John David Anglin
  -- strict thread matches above, loose matches on Subject: below --
2002-04-04  2:03 H.Merijn Brand
2002-04-04  8:22 ` law
     [not found] ` <200204041958.g34JwTbA011272@hiauly1.hia.nrc.ca>
2002-04-05  4:51   ` H.Merijn Brand
2002-04-05  5:01     ` H.Merijn Brand
2002-04-05  9:19     ` John David Anglin
2002-04-07  7:26       ` H.Merijn Brand
2002-04-07 12:17         ` John David Anglin
2002-04-10  3:39       ` H.Merijn Brand
2002-04-10 11:21         ` John David Anglin
2002-04-10 11:56           ` H.Merijn Brand
2002-04-10 12:50             ` John David Anglin
2002-04-11  2:19               ` H.Merijn Brand
2002-04-11  8:59                 ` John David Anglin
2002-04-11  9:15                   ` H.Merijn Brand
2002-04-11  9:19                   ` law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).