next up previous 252
Next: VAX/VMS
Up: DEC Unix
Previous: LOGICAL Values

POINTERS on Alphas

The DEC Alpha machines can use addresses up to 64 bits long, but where FORTRAN INTEGERs are used to hold an address, only 32 bits can be held. However, the linker has flags -T and -D which can be used to ensure that allocated memory addresses will fit into 32 bits. The user generally does not have to worry about these, as they are inserted automatically if the relevant Starlink library link script (e.g. hds_link) is used.



next up previous 252
Next: VAX/VMS
Up: DEC Unix
Previous: LOGICAL Values

CNF and F77 Mixed Language Programming -- FORTRAN and C
Starlink User Note 209
P.M. Allan
A.J. Chipperfield
R.F. Warren-Smith
19 January 2000
E-mail:ussc@star.rl.ac.uk