• Stewart Brodie's avatar
    Initial import of the sources of the "defmod" tool, used to build OSLib. · f4b50277
    Stewart Brodie authored
      These sources represent the GPLed version of defmod available with OSLib
      5.5, with modifications to support -26bit and -32bit options to choose the
      APCS variant being used.
       
    Detail:
      The code has been reorganised to remove dependencies on path variables
      which are not appropriate for our build structure.  The sources directory
      contains the main code sources; the bs directory contains bootstrap headers
      to enable defmod to be build without OSLib headers being available; the
      support directory contains derivatives of JCoxhead's support library.
      
      Code changes are a switch in support.s.riscosa to support 32-bit builds of
      defmod itself; sources.y.defmod includes VersionNum and uses Module_Date
      and Module_FullVersion in the -help output; sources.c.objasm has a new
      apcs32 flag which controls MOV vs. MOVS and LDM vs. LDM^ for veneer exits.
       
      The Makefile is a complete rewrite.
      
      Do not define __GNUC__ as zero ...
    f4b50277
This project is licensed under the Other. Learn more