NetBSD & binutils
前回のは勘違いだわ...orz
toolsのオプションはツールチェイン作る。
なのでターゲットのCCでなく
ホストのCCつかうのでOK
targparam.hが無いって言って止まるので
他のアーキテクチャのを参考に
dlx/targparam.h を作った。
ポインタのサイズと浮動小数まわりの定義だけで良いのか。
#include "ilp32.h" /* * Should be set to 1 if the difference of two pointers is of type long * or the value of sizeof is of type unsigned long. Note this MUST be * kept in sync with the compiler! */ #define PTRDIFF_IS_LONG 0 #define SIZEOF_IS_ULONG 0 #define INTPTR_IS_LONG 0 #define FLOAT_SIZE (4 * CHAR_BIT) #define DOUBLE_SIZE (8 * CHAR_BIT) #define LDOUBLE_SIZE (8 * CHAR_BIT) #define ENUM_SIZE (4 * CHAR_BIT)