[M3commit] [modula3/cm3] 8d22b1: loop over object file extensions

jaykrell jay.krell at cornell.edu
Mon Sep 14 08:10:55 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/modula3/cm3
  Commit: 8d22b15bcd379f3b9c7ce002607a5d20fb6a5ca8
      https://github.com/modula3/cm3/commit/8d22b15bcd379f3b9c7ce002607a5d20fb6a5ca8
  Author: jaykrell <jay.krell at cornell.edu>
  Date:   2015-09-13 (Sun, 13 Sep 2015)

  Changed paths:
    M scripts/python/pylib.py

  Log Message:
  -----------
  loop over object file extensions


  Commit: fc20121c6dc0828428eda5d795b7cdd76c80a582
      https://github.com/modula3/cm3/commit/fc20121c6dc0828428eda5d795b7cdd76c80a582
  Author: jaykrell <jay.krell at cornell.edu>
  Date:   2015-09-13 (Sun, 13 Sep 2015)

  Changed paths:
    M m3-sys/llvm/src/readme

  Log Message:
  -----------
  fix small typos


  Commit: 5b4c7feade8c420c49613a6da35fe0eff1a01610
      https://github.com/modula3/cm3/commit/5b4c7feade8c420c49613a6da35fe0eff1a01610
  Author: jaykrell <jay.krell at cornell.edu>
  Date:   2015-09-13 (Sun, 13 Sep 2015)

  Changed paths:
    M m3-sys/llvm/src/M3CG_LLVM.m3

  Log Message:
  -----------
  Some provision for 32bit hosts, if/when I can get LLVM to be 32bit hosted.


  Commit: 302e39b17f7c7a1722ce6610981b6915230e9ef1
      https://github.com/modula3/cm3/commit/302e39b17f7c7a1722ce6610981b6915230e9ef1
  Author: jaykrell <jay.krell at cornell.edu>
  Date:   2015-09-13 (Sun, 13 Sep 2015)

  Changed paths:
    M m3-sys/cminstall/src/config-no-install/Darwin.common

  Log Message:
  -----------
  only overwrite/default M3_BACKEND_MODE if not specified on command line -- and really want to change the default form '3' to 'C'


  Commit: c40dc306fa687da1cd603311870a1eb3aab2c213
      https://github.com/modula3/cm3/commit/c40dc306fa687da1cd603311870a1eb3aab2c213
  Author: jaykrell <jay.krell at cornell.edu>
  Date:   2015-09-13 (Sun, 13 Sep 2015)

  Changed paths:
    M m3-sys/m3middle/src/Target.m3

  Log Message:
  -----------
  Clarify that ALPHA_ excludes ALPHA32 to remove temptation to change it to "ALPHA".


  Commit: d4d7a8d86805bea6c78d1e829bce357ab4b80f47
      https://github.com/modula3/cm3/commit/d4d7a8d86805bea6c78d1e829bce357ab4b80f47
  Author: jaykrell <jay.krell at cornell.edu>
  Date:   2015-09-13 (Sun, 13 Sep 2015)

  Changed paths:
    M m3-sys/cminstall/src/config-no-install/ALPHA_LINUX
    M m3-sys/cminstall/src/config-no-install/ALPHA_OPENBSD
    M m3-sys/cminstall/src/config-no-install/AMD64_DARWIN
    M m3-sys/cminstall/src/config-no-install/AMD64_FREEBSD
    M m3-sys/cminstall/src/config-no-install/AMD64_LINUX
    M m3-sys/cminstall/src/config-no-install/AMD64_NETBSD
    M m3-sys/cminstall/src/config-no-install/AMD64_OPENBSD
    M m3-sys/cminstall/src/config-no-install/ARM_DARWIN
    M m3-sys/cminstall/src/config-no-install/ARM_LINUX.common
    M m3-sys/cminstall/src/config-no-install/I386_FREEBSD.common
    M m3-sys/cminstall/src/config-no-install/I386_LINUX.common
    M m3-sys/cminstall/src/config-no-install/I386_NETBSD
    M m3-sys/cminstall/src/config-no-install/I386_OPENBSD
    M m3-sys/cminstall/src/config-no-install/IA64_LINUX
    M m3-sys/cminstall/src/config-no-install/Interix.common
    M m3-sys/cminstall/src/config-no-install/MIPS64EL_OPENBSD
    M m3-sys/cminstall/src/config-no-install/MIPS64_OPENBSD
    M m3-sys/cminstall/src/config-no-install/NT.common
    M m3-sys/cminstall/src/config-no-install/PA32_HPUX
    M m3-sys/cminstall/src/config-no-install/PA64_HPUX
    M m3-sys/cminstall/src/config-no-install/PPC32_OPENBSD
    M m3-sys/cminstall/src/config-no-install/PPC_LINUX
    M m3-sys/cminstall/src/config-no-install/SPARC32_LINUX
    M m3-sys/cminstall/src/config-no-install/SPARC64_LINUX
    M m3-sys/cminstall/src/config-no-install/SPARC64_OPENBSD
    M m3-sys/cminstall/src/config-no-install/Solaris.common
    M m3-sys/cminstall/src/config-no-install/cm3cfg.common

  Log Message:
  -----------
  Switch from gcc to g++.
Still to look into the other C/C++ compilers.
(Visual C++ will also go by extension and there are the -Tp and -TP switches;
gcc and clang both also have -x c++. That still leaves a few others, ultimately
while I hope to use C++ exception handling for portability and efficiency,
I expect setjmp/longjmp to remain an option, having experienced K&R
compilers fairly recently.)


  Commit: 9a1fb325aab9ee445d4278b7e0ae8249df723759
      https://github.com/modula3/cm3/commit/9a1fb325aab9ee445d4278b7e0ae8249df723759
  Author: jaykrell <jay.krell at cornell.edu>
  Date:   2015-09-13 (Sun, 13 Sep 2015)

  Changed paths:
    M m3-sys/cm3/src/Builder.m3

  Log Message:
  -----------
  Provide this:
jair:m3core jay$ cm3 -DM3_BACKEND_MODE=HELP
--- building in AMD64_DARWIN ---

ignoring ../src/m3overrides

Fatal Error: unrecognized backend mode: HELP
available values: IntegratedObject, IntegratedAssembly, ExternalObject, ExternalAssembly, C, IntLlvmObj, IntLlvmAsm, ExtLlvmObj, ExtLlvmAsm, StAloneLlvmObj, StAloneLlvmAsm

Where "HELP" is any invalid valid.


  Commit: eeae8f11d2589f30e31df03a36785ad310fcee9a
      https://github.com/modula3/cm3/commit/eeae8f11d2589f30e31df03a36785ad310fcee9a
  Author: jaykrell <jay.krell at cornell.edu>
  Date:   2015-09-13 (Sun, 13 Sep 2015)

  Changed paths:
    M m3-sys/cm3/src/Builder.m3
    M m3-sys/cm3/src/Utils.m3

  Log Message:
  -----------
  Better behavior after errors for the files after the errors.


  Commit: afb5d898e7cfa64e8e7b04f761168dc48fdd8c68
      https://github.com/modula3/cm3/commit/afb5d898e7cfa64e8e7b04f761168dc48fdd8c68
  Author: jaykrell <jay.krell at cornell.edu>
  Date:   2015-09-13 (Sun, 13 Sep 2015)

  Changed paths:
    M m3-sys/llvm/src/m3makefile

  Log Message:
  -----------
  Crudely probe for file/directory existness so this might work for more people.
Some other solution is needed longer term -- either bundle the source or require an environment variable,
or maybe try pkgconfig or such.


  Commit: 2d34fdf7e67e6d63e1d66c31a3ec2762ce6cc0fe
      https://github.com/modula3/cm3/commit/2d34fdf7e67e6d63e1d66c31a3ec2762ce6cc0fe
  Author: jaykrell <jay.krell at cornell.edu>
  Date:   2015-09-13 (Sun, 13 Sep 2015)

  Changed paths:
    M m3-sys/llvmbindings/src/m3makefile

  Log Message:
  -----------
  Probe file existance so this has some crude hope of working for others.
Really need another mechanism here.


  Commit: 28cddc037ac286b06e111164f75638f183788508
      https://github.com/modula3/cm3/commit/28cddc037ac286b06e111164f75638f183788508
  Author: jaykrell <jay.krell at cornell.edu>
  Date:   2015-09-13 (Sun, 13 Sep 2015)

  Changed paths:
    M m3-sys/llvm3.6.1/src/m3makefile

  Log Message:
  -----------
  comment only, that build_standalone is desired here but has problems


Compare: https://github.com/modula3/cm3/compare/fffbd2adf139...28cddc037ac2


More information about the M3commit mailing list