Operating System - Tru64 Unix
1827859 Members
2812 Online
109969 Solutions
New Discussion

How do I compile file as 64 bit on DEC?

 
이상봉_2
Occasional Contributor

How do I compile file as 64 bit on DEC?

I'm using Compaq Tru64 UNIX V5.1A.

I want to compile some program as 64 bit.
which option is requred to compile?

compiler is this.
sh-2.02# cc -V
Compaq C V6.4-009 on Compaq Tru64 UNIX V5.1A (Rev. 1885)
Compiler Driver V6.4-008 (sys) cc Driver

for hp +dd64 option is to compile a file as 64bit.


my process is below.

sh-2.02# psrinfo -v
Status of processor 0 as of: 09/12/07 11:48:36
Processor has been on-line since 08/12/2001 16:27:02
The alpha EV6.7 (21264A) processor operates at 667 MHz,
has a cache size of 8388608 bytes,
and has an alpha internal floating point processor.


plz,. help me.,
4 REPLIES 4
Dennis Handly
Acclaimed Contributor

Re: How do I compile file as 64 bit on DEC?

(I'm asking this thread to be moved to the Tru64 forum.)

I thought the default option on Alpha is 64 bit?

For HP-UX, the default is +DD32 and +DD64 can be used.
Steven Schweda
Honored Contributor

Re: How do I compile file as 64 bit on DEC?

64-bit what? Alpha is a 64-bit architecture.
Do you need 64-bit pointers, or 64-bit file
offsets, or what? Did you look at "man cc"?

http://h30097.www3.hp.com/dtk/compaqc_ov.html
이상봉_2
Occasional Contributor

Re: How do I compile file as 64 bit on DEC?

Thank you for your answer. (^_^)and
sorry that I'd put a topic here instead of True64 forum. Should I remove it?
Dennis Handly
Acclaimed Contributor

Re: How do I compile file as 64 bit on DEC?

>Should I remove it?

It should be moved over as soon as the moderators see my request:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1157827

But it looks like you added another thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1160323