1752805 Members
5520 Online
108789 Solutions
New Discussion юеВ

Re: gcc-3.0.4/64

 
H.Merijn Brand (procura
Honored Contributor

gcc-3.0.4/64

Anyone got a gcc-3.0.3 or 3.0.4 available on HP-UX 11.00 compiled for 64bit?
Enjoy, Have FUN! H.Merijn
5 REPLIES 5
harry d brown jr
Honored Contributor

Re: gcc-3.0.4/64

Procura,

I'm struggling with 3.0.3 now, and it doesn't look too pretty. I doubt if I'll be able to get it to work.

3.0.1 is available from:

http://gcc.gnu.org/ml/gcc-help/2001-09/msg00037.html

Live free or die
harry

Live Free or Die
H.Merijn Brand (procura
Honored Contributor

Re: gcc-3.0.4/64

I got 3.0.4 up and running from scratch in about 40 minutes using HP C-ANSI C in 32 bit mode.

I'm not (yet) able to build 3.0.3 or 3.0.4 in either HPc/64 (+DD64) or using gcc-3.0.1/64 the last with or without binutils.

If you want the scripts I use to build gcc from scratch, I'd be more than happy to post them.
Enjoy, Have FUN! H.Merijn
Steven Gillard_2
Honored Contributor

Re: gcc-3.0.4/64

I've never built a 64bit version myself, but there is a pre-compiled 3.0.2 64bit gcc available from HP:

http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html

Regards,
Steve
H.Merijn Brand (procura
Honored Contributor

Re: gcc-3.0.4/64

With the following versions to build gcc-3.0.4

a5:/pro/3gl/GNU/gcc-3.0.4 108 > gcc64 --version
3.0.2
a5:/pro/3gl/GNU/gcc-3.0.4 109 > /usr/local/pa20_64/bin/as --version
GNU assembler 2.11.2
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `hppa64-hp-hpux11.00'.
a5:/pro/3gl/GNU/gcc-3.0.4 110 > /wrk/gcc-3.0.1-64/bin/ld --version
GNU ld 2.11.90
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
Supported emulations:
elf64hppa
a5:/pro/3gl/GNU/gcc-3.0.4 111 >

I get stuck in the following section:

./xgcc -B./ -B/wrk/gcc-3.0.4-64/hppa2.0w-hp-hpux11.00/bin/ -isystem /wrk/gcc-3.0.4-64/hppa2.0w-hp-hpux11.00/include -isystem /wrk/gcc-3.0.4-64/hppa2.0w-hp-hpux11.00/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/config -I../../src/gcc/../include -DUSE_COLLECT2 -DL_muldi3 -c ../../src/gcc/libgcc2.c -o libgcc/./_muldi3.o
/tmp/ccchdWY6.s: Assembler messages:
/tmp/ccchdWY6.s:3: Error: Unknown pseudo-op: `.subspa'
/tmp/ccchdWY6.s:4: Error: Unknown pseudo-op: `.subspa'
/tmp/ccchdWY6.s:6: Error: Unknown pseudo-op: `.subspa'
/tmp/ccchdWY6.s:7: Error: Unknown pseudo-op: `.subspa'
/tmp/ccchdWY6.s:14: Error: Unknown pseudo-op: `.subspa'
/tmp/ccchdWY6.s:268: Error: Unknown pseudo-op: `.nsubspa'
/tmp/ccchdWY6.s:306: Error: Unknown pseudo-op: `.nsubspa'
make[3]: *** [libgcc/./_muldi3.o] Error 1
make[3]: Leaving directory `/pro/3gl/GNU/gcc-3.0.4/obj/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/pro/3gl/GNU/gcc-3.0.4/obj/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/pro/3gl/GNU/gcc-3.0.4/obj/gcc'
make: *** [bootstrap-lean] Error 2
a5:/pro/3gl/GNU/gcc-3.0.4 107 >

Should we contact gccbugs?
Enjoy, Have FUN! H.Merijn
harry d brown jr
Honored Contributor

Re: gcc-3.0.4/64

Procura,

contacting gccbugs is probably futile, but it's worth a shot. I've been screwing with 3.0.4 now, without success. The issue is that I loaded the "binutils", "texinfo", "sed" and others from the hp porting area and the compile (bootstrap) of 3.04 just sucks dirt. I'm going to load the gnu stuff and build it locally, basically getting rid of the "ported depot" crap. If I get the doggie working today or tomorrow, I'll let ya know. I'm trying to keep track of my PATH and which stuff the compiler has access to, so that I can recreate it elsewhere. Wish me luck!

live free or die
harry
Live Free or Die