public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* How to generate 64bit binaries with gcc on HP.11.00?
@ 2002-01-23  8:42 Alpman, Johan
  2002-01-23  9:49 ` law
  0 siblings, 1 reply; 2+ messages in thread
From: Alpman, Johan @ 2002-01-23  8:42 UTC (permalink / raw)
  To: 'gcc-help@gcc.gnu.org'

Hi,

I use HP.11.00  with gcc-3.0.2
I receive an error message when I try to build a binary,
using a library, compiled on different machine also HP.11.00

/usr/ccs/bin/ld: /home/jalpman/VIP/project//lib/hpux11.x/libbat.a: Not a
valid library (invalid magic number). Possibly a 64-bit PA archive library
(Mismatched ABI).
collect2: ld returned 1 exit status

I assume this problem is due to the fact that we build 32 bit binaries,
and try to link in a 64-bit library.
How do I do to generate a 64 bit binary with gcc.

When I tried the  -m64 option, I received cc1: Invalid option `64' 

Best Regards
Johan Alpman

> --------------------------------------------------------------------------
> Johan Alpman, Ph.L.
> Cap Gemini Ernst & Young         Phone:  +46 (8)  704 57 14
> Div. Telecom & Media             Fax:    +46 (8)  704 50 17
> Box 825                          Mobile: +46 (70) 946 57 17
> SE-161 24 Bromma                 E-mail: mailto:johan.alpman@capgemini.se
> SWEDEN                           Web:
> http://www.telco.nordic.capgemini.se
> 
> --------------------------------------------------------------------------
> 


This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to generate 64bit binaries with gcc on HP.11.00?
  2002-01-23  8:42 How to generate 64bit binaries with gcc on HP.11.00? Alpman, Johan
@ 2002-01-23  9:49 ` law
  0 siblings, 0 replies; 2+ messages in thread
From: law @ 2002-01-23  9:49 UTC (permalink / raw)
  To: Alpman, Johan; +Cc: 'gcc-help@gcc.gnu.org'

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-23 17:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-23  8:42 How to generate 64bit binaries with gcc on HP.11.00? Alpman, Johan
2002-01-23  9:49 ` law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).