Cross Reference: TESTING
xref
: /
solaris-userland
/
components
/
desktop
/
libtiff
/
TESTING
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
7043
N/A
cd
/var/tmp
7043
N/A
7043
N/A
cat >
a.c
<<EOT
7043
N/A
#include <
tiffconf.h
>
7043
N/A
#include <
stdio.h
>
7043
N/A
7043
N/A
int main(void) {
7043
N/A
printf("8=%d\n", sizeof(TIFF_INT64_T));
7043
N/A
printf("8=%d\n", sizeof(TIFF_UINT64_T));
7043
N/A
printf("%d=%d\n", sizeof(ssize_t), sizeof(TIFF_SSIZE_T));
7043
N/A
}
7043
N/A
EOT
7043
N/A
7043
N/A
GCC=gcc
7043
N/A
CC=
/ws/on12-tools/SUNWspro/solarisstudio12.4/bin/cc
7043
N/A
7043
N/A
$GCC -m32
a.c
&& ./
a.out
7043
N/A
$GCC -m64
a.c
&& ./
a.out
7043
N/A
$CC -m32
a.c
&& ./
a.out
7043
N/A
$CC -m64
a.c
&& ./
a.out
7043
N/A
7043
N/A
Output should be:
7043
N/A
8=8
7043
N/A
8=8
7043
N/A
4=4
7043
N/A
...
7043
N/A
8=8
7043
N/A
8=8
7043
N/A
8=8
7043
N/A
...
7043
N/A
8=8
7043
N/A
8=8
7043
N/A
4=4
7043
N/A
...
7043
N/A
8=8
7043
N/A
8=8
7043
N/A
8=8
7043
N/A