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

Cosmopolitan libc platform support

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        1. cosmo.cmake
          1 kB
          Cristian Adam
        2. cosmo-arch.cmake
          1 kB
          Cristian Adam
        3. qtcreator-master-cosmo-macos.webp
          132 kB
          Cristian Adam

        Issue Links

          For Gerrit Dashboard: QTBUG-127775
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change