How to generate 64bit binaries with gcc on HP.11.00?

law@redhat.com law@redhat.com
Wed Jan 23 09:49:00 GMT 2002


In message <D316865255DFD511B5DE00B0D0F98BD208D31D@sto04.capgemini.se>, "Alpman
, Johan" writes:
 > Hi,
 > I assume this problem is due to the fact that we build 32 bit binaries,
 > and try to link in a 64-bit library.
Yes.

 > How do I do to generate a 64 bit binary with gcc.
You need to build a compiler, assembler, linker, gdb, etc for 
hppa64-hp-hpux11.00.

ie

configure hppa64-hp-hpux11.00

 > When I tried the  -m64 option, I received cc1: Invalid option `64' 
Due to various changes in the ABI it is not currently possible to build
one compiler which supports both the 32bit and 64bit ABIs for HPUX.

jeff



More information about the Gcc-help mailing list