How do you build cross-platform C programs?

This page summarizes the projects mentioned and recommended in the original post on /r/C_Programming

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • libdither

    A C library for black-and-white image dithering

  • you can take a look at my approach to create a win/mac/linux C library here, using a makefile: github

  • portable-mmap

    Discontinued an mmap shim for windows with fallback for unix systems by Mike Frysinger <[email protected]>. Mirrored from https://gist.github.com/r-lyeh-archived/bc29c8630dd778454001

  • Use libraries that support the targeted platforms. Use a meta build system (like cmake) that can spit out things like a make build for Linux or a visual studio project for windows. For things with no cross-platform API, either implement different paths with a define or find shim code implementing one api with another like this one to be able to use windows memory map as if it were posix mmap: https://github.com/jessrud/portable-mmap

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • cosmopolitan

    build-once run-anywhere c library

  • check out https://github.com/jart/cosmopolitan/releases

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts