1754319 Members
3354 Online
108813 Solutions
New Discussion

binutils on HPUX 11i

 
Jorgen Lassen
Occasional Advisor

binutils on HPUX 11i

Hi all,

when doing "make install" on binutils 2.11.2 I get this error:

cc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd -I./../bfd -I./../include -DHOST_HPPAHPUX -I./../intl -I../intl -DLOCALEDIR="\"/usr/local/share/locale\"" -g -c filemode.c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C product; ignored.
Make: Don't know how to make ../libiberty/libiberty.a. Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
#

./configure went fine ..!

any ideas ??

regards

Jonne
Failure is not an option, it comes standard with all Microsoft products.
1 REPLY 1
H.Merijn Brand (procura
Honored Contributor

Re: binutils on HPUX 11i

1. Use 2.12 instead of 2.11.2
2. Here are the two scripts I use to build 64bit binutils

# cat Conf-64
#!/usr/bin/sh

export CONFIG_SITE=
export CC="cc -Ae +DA2.0W"
export PATH=.:/pro/local/bin
export PATH=$PATH"":/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/opt/langtools/bin
export PATH=$PATH"":/usr/local/pa20_64/bin:/opt/imake/bin

configure --prefix=/usr/local/pa20_64 --with-local-prefix=/usr/local/pa20_64 --disable-shared --disable-nls --host=hppa64-hp-hpux11.00
# cat Build-64
#!/usr/bin/sh

export CONFIG_SITE=
export CC="cc -Ae +DA2.0W"
export PATH=.:/pro/local/bin
export PATH=$PATH"":/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/opt/langtools/bin
export PATH=$PATH"":/usr/local/pa20_64/bin:/opt/imake/bin

make -i
#

HTH
Enjoy, Have FUN! H.Merijn