git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2871
4a8a32a2-be11-0410-ad9d-
d568d2c75423
# Port specification for compiling on the host machines version of gcc
SDCC = $(shell ( sh -c "gcc --version" 2>&1 ) > /dev/null && echo gcc || echo cc)
# Port specification for compiling on the host machines version of gcc
SDCC = $(shell ( sh -c "gcc --version" 2>&1 ) > /dev/null && echo gcc || echo cc)
-SDCCFLAGS = -DPORT_HOST=1 -Wall -fsigned-char -DREENTRANT=
+SDCCFLAGS = -DPORT_HOST=1 -Wall -fsigned-char -fpack-struct -DREENTRANT=
EXEEXT = .bin
OBJEXT = .o
EXEEXT = .bin
OBJEXT = .o
-# define _mullong(a,b) (a*b)
+# if defined(type_c)
+# define _SDCC_NO_ASM_LIB_FUNCS 1
+# define near
+# include "../../../../../device/lib/_mullong.c"
+# else
+# define _mullong(a,b) (a*b)
+# endif
# if defined(type_c)
# define _SDCC_NO_ASM_LIB_FUNCS 1
# endif
# if defined(type_c)
# define _SDCC_NO_ASM_LIB_FUNCS 1
# endif