Operating System - HP-UX
1822896 Members
3516 Online
109645 Solutions
New Discussion юеВ

building gcc 3.3 on HP-UX 11.11

 
Christophe Goua
Occasional Contributor

building gcc 3.3 on HP-UX 11.11

I am trying to build gcc 3.3 on HP-UX 11.11, but it does not work. The "configure" script exits with an error:
configure: error: cannot determine a size for long long

Has anybody had the same problem?
Thanks

CG
4 REPLIES 4
H.Merijn Brand (procura
Honored Contributor

Re: building gcc 3.3 on HP-UX 11.11

`manual' for this on my ITRC site: https://www.beepz.com/personal/merijn/ or http://www.cmve.net/~merijn/

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Christophe Goua
Occasional Contributor

Re: building gcc 3.3 on HP-UX 11.11

Thanks, but I forgot to mention it is a PA 1.1 architecture...
Jarle Bjorgeengen
Trusted Contributor

Re: building gcc 3.3 on HP-UX 11.11

Hi,

there is a pre buildt depot of all GNU dev tools (including Gcc) you need to compile opensource software on http://devresource.hp.com

Rgds Jarle
H.Merijn Brand (procura
Honored Contributor

Re: building gcc 3.3 on HP-UX 11.11

So? my site also has pa-1.1 software. It's built on 10.20, but should be usable on 11.x too.

FWIW, here's what I use on 10.20 to build gcc-3.x/32 with gcc as compiler:

--8<---
#!/usr/bin/sh

export LD_PXDB=/usr/bin/true

export CONFIG_SITE=
export CC="gcc -B/usr/local/pa11_32/bin"
export PATH=.:/usr/local/pa11_32/bin:/pro/local/bin
export PATH=$PATH"":/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/opt/langtools/bin
export PATH=$PATH"":/opt/imake/bin

rm -rf obj
mkdir obj
cd obj
../src/configure --enable-languages=c,c++ --prefix=/usr/local/pa11_32 --with-local-prefix=/usr/local/pa11_32 --with-gnu-as --with-as=/usr/local/pa11_32/bin/as --with-ld=/usr/ccs/bin/ld --disable-shared --disable-nls --host=hppa1.1-hp-hpux10.20

cd obj
make bootstrap-lean

make install
-->8---

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn