index 070241473dfc406ad0a5442093ec611f9267ccd3..af287d95d50bba19ba9f130fcf00ad95ee7fd416 100755 (executable)
--- a/make.sh
+++ b/make.sh
done
local _cc_cflags=
case "$CC" in
- *gcc) _cc_cflags="-Wno-int-conversion -Wno-int-to-pointer-cast -Wno-incompatible-pointer-types -Wno-implicit-function-declaration" ;;
+ *gcc) _cc_cflags="-g -Wno-int-conversion -Wno-int-to-pointer-cast -Wno-incompatible-pointer-types -Wno-implicit-function-declaration" ;;
*) _cc_cflags="" ;;
esac
local _cpu_cflags=
cygwin) _system_cflags="-liconv" ;;
*) _system_cflags="" ;;
esac
- "$CC" $_cc_cflags $_cpu_cflags $CFLAGS -o "${_main}" -I "$_this/C" "$_this/C/SYSTEM.c" $_list -lm -ldl $_system_cflags
+ "$CC" $_cc_cflags $_cpu_cflags $CFLAGS -o "${_main}" -I "$_this/C" "$_this/C/SYSTEM.c" $_list -lm -ldl -lffi $_system_cflags
fi
}
Posix/Mod/Cdlfcn.cp Posix/Mod/Csignal.cp Posix/Mod/Csetjmp.cp \
Posix/Mod/Clibgen.cp \
Posix/Mod/Cmacro.cp
+ if [ "$_target" = "cpfront" ]; then
+ compile Lib/Mod/FFI.cp
+ fi
fi
###^^^^^^^^^^^^^^^^^^^^^^^^^^^^###
fi
compile System/Mod/Kernel.cp \
System/Mod/Console.odc System/Mod/Files.odc System/Mod/Dates.odc \
- System/Mod/Log.odc System/Mod/Strings.odc System/Mod/Services.odc \
- System/Mod/Integers.odc
+ System/Mod/Log.odc System/Mod/Strings.odc System/Mod/Meta.odc \
+ System/Mod/Services.odc System/Mod/Integers.odc
if [ "$_target" = "native" ]; then
mv -t System Code Sym