Created
March 17, 2015 15:03
-
-
Save Tux/da7d140d4b6e0c554f1a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% cat xx.ec | |
#include <unistd.h> | |
#include <stdio.h> | |
int main () | |
{ | |
size_t t; | |
(void)fprintf (stderr, "size_t is %d\n", sizeof (t)); | |
return (0); | |
} /* main */ | |
% proc define=ORACLE xx.ec | |
Pro*C/C++: Release 11.2.0.3.0 - Production on Tue Mar 17 16:03:20 2015 | |
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. | |
System default option values taken from: /pro/oracle/v11.2/precomp/admin/pcscfg.cfg | |
% cc -DORACLE -DLINUX -D_XOPEN_SOURCE -D_GNU_SOURCE -I/pro/oracle/v11.2/precomp/public -m64 -fPIC -I/usr/local/include -O1 -g -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector-all -m64 -o xx xx.c | |
% ./xx | |
size_t is 8 | |
% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment