This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How does one compile 64-bit executables on HP-UX PA-RISC?
- From: Dennis Clarke <dclarke at blastwave dot org>
- To: Jeff Law <law at redhat dot com>
- Cc: "Dr. David Kirkby" <david dot kirkby at onetel dot net>, gcc-help at gcc dot gnu dot org
- Date: Fri, 30 Jul 2010 10:46:26 -0400 (EDT)
- Subject: Re: How does one compile 64-bit executables on HP-UX PA-RISC?
- Reply-to: dclarke at blastwave dot org
> On 07/30/10 06:07, Dr. David Kirkby wrote:
>> I have an HP C3600 workstation
>>
>> http://www.b2net.co.uk/hp/hp_visualize_c3600_workstation.htm
>>
>> which is fitted with 552 MHz PA-8600 PA-RISC CPU (64-bit) and 8 GB RAM.
>>
>> If I use gcc -m64, I get an error.
>>
>> drkirkby@hpbox:~$ gcc -m64 test.c
>> cc1: error: unrecognized command line option "-m64"
>>
>> Can anyone tell me how to build 64-bit binaries with gcc on this
>> machine?
> GCC for the PA isn't runtime switchable between 32 and 64 bit binaries.
> ie, however GCC was initially configured is the only way it'll generate
> code on the PA.
>
> What does gcc -v report?
I recall going through some gymnastics on that server. Not sure .. but the
gcc that I bootstrapped was 64-bit ready.
Funny that HP could not be bothered to make a server that runs both 32-bit
and 64-bit executables .. but I digress.
--
Dennis