Colin Carter wrote:
Does anybody know if SuSE 64 bit system is really 64 bit code? I can't seem to get any response from SuSE staff regarding the questions: 1: If I define int i; and real x; do I get 64 bit integer and float if compiled under 64?
Try it and see:
#include
2: Where does one find the definitions in the SuSE system? For example, where is the definition for the structure of XSizeHints ? Where is the definition of the function prototypes for the 64 bit functions?
Typically somewhere in the /usr/include hierarchy.
Maybe the 'average' programmer can ignore such issues, but I want to use FORTRAN to do the number crunching and I need to know if I should pass an integer(KIND=4) or integer(KIND=8)
I don't suppose there's any way I could persuade you to try using C++ or C instead of FORTRAN (I gave up FORTRAN in 1988 and haven't looked back). If you're calling C functions, then I guess you just look for the declarations in an include directory and use the program above (compile it gcc name.c and run it ./a.out) to identify the actual sizes. -- JDL