From 268a53de823a6750d6256ee1fb1e7707b4b45740 Mon Sep 17 00:00:00 2001 From: Xavier ASUS Date: Fri, 18 Oct 2019 00:31:54 +0200 Subject: sdcc-3.9.0 fork implementing GNU assembler syntax This fork aims to provide better support for stm8-binutils --- support/sdbinutils/setup.com | 51 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 support/sdbinutils/setup.com (limited to 'support/sdbinutils/setup.com') diff --git a/support/sdbinutils/setup.com b/support/sdbinutils/setup.com new file mode 100644 index 0000000..b80fbe3 --- /dev/null +++ b/support/sdbinutils/setup.com @@ -0,0 +1,51 @@ +$! +$! Build procedure +$! +$! Note: you need a DCL-compatible gnu make. +$ MAKE="make381" +$ OPT="" +$! +$ if (P1 .EQS. "CONFIGURE") .OR. (P1 .EQS. "ALL") +$ then +$ set def [.bfd] +$ @configure +$ set def [-.libiberty] +$ @configure +$ set def [-.opcodes] +$ @configure +$ set def [-.binutils] +$ @configure +$ set def [-.gas] +$ @configure +$ set def [-] +$ endif +$ if (P1 .EQS. "BUILD") .OR. (P1 .EQS. "ALL") +$ then +$ set def [.bfd] +$ @build +$ set def [-.libiberty] +$ @build +$ set def [-.opcodes] +$ @build +$ set def [-.binutils] +$ @build +$ set def [-.gas] +$ @build +$ set def [-] +$ endif +$ if P1 .EQS. "MAKE" +$ then +$ ARCH=F$GETSYI("ARCH_NAME") +$ ARCH=F$EDIT(arch,"UPCASE") +$ set def [.bfd] +$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'" +$ set def [-.libiberty] +$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'" +$ set def [-.opcodes] +$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'" +$ set def [-.binutils] +$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'" +$ set def [-.gas] +$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'" +$ set def [-] +$ endif -- cgit v1.2.3