[M3commit] [modula3/cm3] 98638a: Put "c" at the end of BUILD_DIR if using the C bac...

GitHub noreply at github.com
Wed Jun 1 09:57:10 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/modula3/cm3
  Commit: 98638a698422779fceef268645e43f051462d36d
      https://github.com/modula3/cm3/commit/98638a698422779fceef268645e43f051462d36d
  Author: jaykrell <jay.krell at cornell.edu>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

  Changed paths:
    M m3-sys/cminstall/src/config-no-install/cm3cfg.common
    M scripts/python/pylib.py

  Log Message:
  -----------
  Put "c" at the end of BUILD_DIR if using the C backend.
This is controversial and convenient and annoying at the same time.
It allows for easier coexistance of the gcc-based backend and the C backend.
Most people don't care what they are using as long as it works reasonably,
and if/when the C backend is the primary one, this will just be noise.

But while they are both around, it helps to keep them separate.
They are *not* link-compatible, at least when pointers to nested functions
are around.

The logic here needs to be fixed to avoid appending "c" twice.
And maybe the name should be different.
And we need to think about a C++ backend for efficient exception handling.




More information about the M3commit mailing list