"aslink", "-nf", "$1", NULL
};
+/* Sigh. This really is not good. For now, I recommend:
+ * sdcc -S -mpic14 file.c
+ * the -S option does not compile or link
+ */
static const char *_asmCmd[] =
{
- "gpasm", NULL, NULL, NULL
+ "gpasm", "-c -I /usr/local/share/gpasm/header", "$1.asm", NULL
};
//"-plosgffc", /* Options with debug */
//"-plosgff", /* Options without debug */
0,
- ".asm"
+ ".asm",
+ NULL /* no do_assemble function */
},
{
_linkCmd,
_pic14_getRegName,
_pic14_keywords,
_pic14_genAssemblerPreamble,
+ NULL, /* no genAssemblerEnd */
_pic14_genIVT,
NULL, // _pic14_genXINIT
_pic14_reset_regparm,
FALSE, /* No array initializer support. */
0, /* no CSE cost estimation yet */
NULL, /* no builtin functions */
+ GPOINTER, /* treat unqualified pointers as "generic" pointers */
+ 1, /* reset labelKey to 1 */
+ 1, /* globals & local static allowed */
PORT_MAGIC
};