I want to port from 32-bit to 64-bit code.

Lint uses the size options to specify the size of scalars for the target architecture.  To see what your current size settings are, run lint with a single argument equal to a ? and you will receive a screen of all lint options and with current values for the size and flag settings and you should see a screen similar to:

      --- Scalar Data Size and Alignment Options (default value(s)) ---

-sb#   bits in a byte (8)               -sbo#  sizeof(bool) (1)
-sc#   sizeof(char) (1)                 -slc#  sizeof(long char) (4)
-ss#   sizeof(short) (2)                -si#   sizeof(int) (4)
-sl#   sizeof(long) (8)                 -sll#  sizeof(long long) (8)
-sf#   sizeof(float) (4)                -sd#   sizeof(double) (8)
-sld#  sizeof(long double) (16)         -smp#  size of all member ptrs (4)
-smpD# size of mem ptr (data) (4)       -smpP# size of mem ptrs (prog) (4)
-sp#   sizeof(all pointers) (8)         -spD#  size of both data ptrs (8)
-spP#  size of both program ptrs (8)    -sw#   size of wide char (4)

This works especially well if you are using a batch file like 
lin.bat.  If your command line is lin ? then the value of size options and flags dumped will reflect the options already set within std.lnt.

Feedback and Knowledge Base