Operating System - HP-UX
1832872 Members
2547 Online
110048 Solutions
New Discussion

Problem compiling gcc-3.2.2 on HP Itanium 11.23

 
SOLVED
Go to solution
Morten Kristiansen
Frequent Advisor

Problem compiling gcc-3.2.2 on HP Itanium 11.23

I have problem when trying to compile gcc-3.3.2. I've installed Gnu make-3.80 and I'm the C-compiler I use is the gcc compiler that was preinstalled from HP. The reason I want to reinstall the Gnu gcc, is because I don't know if the one installed has a static or dynamic libgcc. I want to have a static libgcc.

I've run this command to configure the Makefile:
../gcc-3.3.2/configure --disable-shared --with-gnu-as

This is the error I get when running 'make bootstrap':

[...]
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
./xgcc -B./ -B/usr/local/ia64-hp-hpux11.23/bin/ -isystem /usr/local/ia64-hp-hpux11.23/include -isystem /usr/local/ia64-hp-hpux11.23/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-3.3.2/gcc -I../../gcc-3.3.2/gcc/. -I../../gcc-3.3.2/gcc/config -I../../gcc-3.3.2/gcc/../include -DL__divtf3 -xassembler-with-cpp -c ../../gcc-3.3.2/gcc/config/ia64/lib1funcs.asm -o libgcc/./__divtf3.o
error 2005: invalid option '-x'
make[2]: *** [libgcc/./__divtf3.o] Error 1
make[2]: Leaving directory `/app2/src/gcc-obj/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/app2/src/gcc-obj/gcc'
make: *** [stage1_build] Error 2

Thanks in advance for any help.

regards
Morten Kristiansen
1 REPLY 1
Robert-Jan Goossens
Honored Contributor
Solution

Re: Problem compiling gcc-3.2.2 on HP Itanium 11.23

Hi Morten,

Check this page, believe you can download the depot software here.

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

Kind regards,
Robert-Jan