[M3commit] [modula3/cm3] 647e93: comments as to why this m3makefile is so unusual

jaykrell jay.krell at cornell.edu
Fri Aug 14 10:37:52 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/modula3/cm3
  Commit: 647e932726a16a8f865335e92a2b3a38ae05ed2f
      https://github.com/modula3/cm3/commit/647e932726a16a8f865335e92a2b3a38ae05ed2f
  Author: jaykrell <jay.krell at cornell.edu>
  Date:   2015-08-13 (Thu, 13 Aug 2015)

  Changed paths:
    M m3-tools/coverage/src/m3makefile

  Log Message:
  -----------
  comments as to why this m3makefile is so unusual


  Commit: 20aa9fe8c9fe0fb424b02c6fa5a0eef747b54196
      https://github.com/modula3/cm3/commit/20aa9fe8c9fe0fb424b02c6fa5a0eef747b54196
  Author: jaykrell <jay.krell at cornell.edu>
  Date:   2015-08-13 (Thu, 13 Aug 2015)

  Changed paths:
    M m3-tools/coverage/src/report_coverage.c

  Log Message:
  -----------
  spell out "dir" as "direction"
remove null statement
add volatile to be sure unused reads aren't optimized away
reove unused type


  Commit: 226eef82f1fb53db844deaef48f7256b2807c5b4
      https://github.com/modula3/cm3/commit/226eef82f1fb53db844deaef48f7256b2807c5b4
  Author: jaykrell <jay.krell at cornell.edu>
  Date:   2015-08-13 (Thu, 13 Aug 2015)

  Changed paths:
    M m3-sys/m3cc/src/buildmany.sh

  Log Message:
  -----------
  move ARM_DARWIN to the bottom while figuring out why it doesn't compile


  Commit: 9db79f78e7ae15648c366b48a26beffb2f03676b
      https://github.com/modula3/cm3/commit/9db79f78e7ae15648c366b48a26beffb2f03676b
  Author: jaykrell <jay.krell at cornell.edu>
  Date:   2015-08-13 (Thu, 13 Aug 2015)

  Changed paths:
    M m3-sys/m3cc/gcc-4.7/gcc/config.gcc
    M m3-sys/m3cc/gcc-4.7/gcc/config/alpha/freebsd.h
    M m3-sys/m3cc/gcc-4.7/gcc/config/arm/freebsd.h
    R m3-sys/m3cc/gcc-4.7/gcc/config/darwin-driver.c
    M m3-sys/m3cc/gcc-4.7/gcc/config/darwin.h
    M m3-sys/m3cc/gcc-4.7/gcc/config/freebsd-spec.h
    M m3-sys/m3cc/gcc-4.7/gcc/config/freebsd.h
    M m3-sys/m3cc/gcc-4.7/gcc/config/i386/freebsd.h
    M m3-sys/m3cc/gcc-4.7/gcc/config/i386/sol2-bi.h
    M m3-sys/m3cc/gcc-4.7/gcc/config/ia64/freebsd.h
    M m3-sys/m3cc/gcc-4.7/gcc/config/lynx.h
    M m3-sys/m3cc/gcc-4.7/gcc/config/netbsd.h
    M m3-sys/m3cc/gcc-4.7/gcc/config/openbsd.h
    M m3-sys/m3cc/gcc-4.7/gcc/config/rs6000/freebsd.h
    M m3-sys/m3cc/gcc-4.7/gcc/config/rtems.h
    R m3-sys/m3cc/gcc-4.7/gcc/config/sol2-bi.h
    M m3-sys/m3cc/gcc-4.7/gcc/config/sol2.h
    M m3-sys/m3cc/gcc-4.7/gcc/config/sparc/freebsd.h
    M m3-sys/m3cc/gcc-4.7/gcc/config/vx-common.h
    M m3-sys/m3cc/gcc-4.7/gcc/config/vxworks.h

  Log Message:
  -----------
  remove move parts of the driver and the C/C++ frontend


  Commit: 6a6ca0fe3cae55a08a1db9e218e4c2578566c2f1
      https://github.com/modula3/cm3/commit/6a6ca0fe3cae55a08a1db9e218e4c2578566c2f1
  Author: jaykrell <jay.krell at cornell.edu>
  Date:   2015-08-14 (Fri, 14 Aug 2015)

  Changed paths:
    M m3-sys/cminstall/src/config-no-install/Interix.common
    M m3-sys/cminstall/src/config-no-install/Linux.common
    M m3-sys/cminstall/src/config-no-install/Unix.common

  Log Message:
  -----------
  A slight increase in portability -- making everything have the same code.
In particular, we can use ar cru + ranlib on almost every system,
as long as we ignore the result of ranlib.
On old systems, ar cru or ar cr + ranlib is the only right way.
On most current systems, ranlib doesn't do anything.
On some systems (Irix?) ranlib does not exist so will fail.
I am pretty certain that the "s" flag is not needed and the "u" flag
sometimes help. gcc makes libbackend without the u flag though, but otherwise
is like that -- ar + ranlib, ignores the result ranlib result and doesn't
autoconf this aspect.
and we still make


Compare: https://github.com/modula3/cm3/compare/778bb5a55029...6a6ca0fe3cae


More information about the M3commit mailing list