Uploaded image for project: 'Apache Lucy-Clownfish'
  1. Apache Lucy-Clownfish
  2. CLOWNFISH-115

Support cross compiling

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      In order to support cross compiling, we'll have to:

      • Rework Charmonizer probes so they don't have to execute any test programs. This is a bit tricky for things like sizeof probes. Some work in this direction has already been done.
      • Remove as many things as possible from cfish_platform.h.
        • Endian macros are only used in Lucy's NumberUtils.cfh. This needs to be reworked.
        • The following things are compiler-specific and probably don't have to be adjusted when cross compiling:
          • HAS_*_VARIADIC_MACROS (probably unneeded anyway)
          • HAS_FUNC_MACRO
          • IMPORT, EXPORT, INLINE
          • std headers
        • SIZEOF_* can already be removed. Was only needed for the old Perl labeled params code.
        • U64_TO_DOUBLE can be removed. Was only needed for MSVC6 support.
      • If there are any remaining things in cfish_platform.h that can be different on the target platform, add a cross compliation mode to CFC that requires a generated charmony.h.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nwellnhof Nikolas Wellnhofer
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: