[hackers] [scc] Add support for i386 in cc1 || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Fri, 25 Sep 2015 17:50:44 +0200 (CEST)

commit 0ba1212867ef18e71a4f05ed19b6d0c89208e954
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Fri Sep 25 17:48:15 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Fri Sep 25 17:48:15 2015 +0200

    Add support for i386 in cc1
    
    We only need to configure the types, and the rest of the code
    will work without problems.

diff --git a/cc1/arch/i386/arch.h b/cc1/arch/i386/arch.h
new file mode 100644
index 0000000..c09c399
--- /dev/null
+++ b/cc1/arch/i386/arch.h
_AT_@ -0,0 +1,21 @@
+
+#define TINT long long
+#define TUINT unsigned long long
+#define TFLOAT double
+
+#define L_SCHAR L_INT8
+#define L_UCHAR L_UINT8
+#define L_CHAR L_INT8
+#define L_SHORT L_INT16
+#define L_USHORT L_UINT16
+#define L_INT L_INT32
+#define L_UINT L_UINT32
+#define L_LONG L_INT32
+#define L_ULONG L_UINT32
+#define L_LLONG L_INT64
+#define L_ULLONG L_UINT64
+#define L_BOOL 'B'
+#define L_FLOAT 'J'
+#define L_DOUBLE 'D'
+#define L_LDOUBLE 'H'
+#define L_ENUM L_INT
Received on Fri Sep 25 2015 - 17:50:44 CEST

This archive was generated by hypermail 2.3.0 : Fri Sep 25 2015 - 18:00:24 CEST