Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-127775

Cosmopolitan libc platform support

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • None
    • Build System: CMake
    • None
    • Other

      At https://justine.lol/cosmo3/ we can learn about the progress of the cosmopolitan libc, which is a:

      Cosmopolitan Libc makes C a build-anywhere run-anywhere language, like Java, except it doesn't need an interpreter or virtual machine. Instead, it reconfigures stock GCC and Clang to output a POSIX-approved polyglot format that runs natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS on AMD64 and ARM64 with the best possible performance.

      A toolchain can be downloaded from Index of /pub/cosmocc/.

      CMake doesn't support Cosmopolitan as a platform, see Support for "cosmopolitan libc" (#25578) · Issues · CMake / CMake · GitLab (kitware.com) but one could have a toolchain that can compile Qt base attached to this ticket.

      cosmo.cmake

        1. cosmo.cmake
          1 kB
        2. cosmo-arch.cmake
          1 kB
        3. qtcreator-master-cosmo-macos.webp
          132 kB
        For Gerrit Dashboard: QTBUG-127775
        # Subject Branch Project Status CR V

            qtbuildsystem Qt Build System Team
            cadam Cristian Adam
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change