summaryrefslogtreecommitdiffhomepage
path: root/README
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-03-29 00:03:40 -0400
committermidipix <writeonce@midipix.org>2016-02-25 07:33:20 -0500
commit2184c4043cb7e8ce93b9b09a29cecbc7c6c748bb (patch)
treecc21fc563dce7bf622a09bfe066d70ed1517b72a /README
parentee333f18625a5968d464656e9e83e96c45fe816d (diff)
downloadpsxtypes-2184c4043cb7e8ce93b9b09a29cecbc7c6c748bb.tar.bz2
psxtypes-2184c4043cb7e8ce93b9b09a29cecbc7c6c748bb.tar.xz
psxtypes headers: renewed commit.
Diffstat (limited to 'README')
-rw-r--r--README56
1 files changed, 56 insertions, 0 deletions
diff --git a/README b/README
index 4546a6d..e71fe9a 100644
--- a/README
+++ b/README
@@ -1,2 +1,58 @@
portable type definitions for a free-standing environment
---------------------------------------------------------
+
+COMPILERS
+---------
++ gcc (midipix).
++ gcc (mingw).
++ clang.
++ MSVS.
+
+
+USAGE
+-----
+
+(1) 32-bit free-standing environment
+------------------------------------
+
+#define __NT32
+#include <psxtypes/psxtypes.h>
+
+
+(2) 64-bit free-standing environment
+------------------------------------
+
+#define __NT64
+#include <psxtypes/psxtypes.h>
+
+
+(3) 32-bit free-standing WINAPI environment
+
+#define MIDIPIX_WIN32
+#include <psxtypes/psxtypes.h>
+
+
+(4) 64-bit free-standing WINAPI environment
+
+#define MIDIPIX_WIN64
+#include <psxtypes/psxtypes.h>
+
+
+(5) 32-bit WINAPI environment with a non-posix C library
+
+#define MIDIPIX_WIN32
+#define MIDIPIX_EXTERNAL_TYPES
+#include <psxtypes/psxtypes.h>
+
+
+(6) 64-bit WINAPI environment with a non-posix C library
+
+#define MIDIPIX_WIN64
+#define MIDIPIX_EXTERNAL_TYPES
+#include <psxtypes/psxtypes.h>
+
+
+(7) a standard POSIX development environment
+
+#define __NATIVE_POSIX
+#include <psxtypes/psxtypes.h>