Julia Evans 6/10/2025

Using `make` to compile C programs (for non-C-programmers)

Read Original

This article is a practical guide for developers who aren't C programmers but need to compile C/C++ programs from source. It explains the essential steps: installing a C compiler (like GCC or Xcode tools), finding and installing dependencies manually, and using `make` or `./configure` scripts. It uses real-world examples like compiling 'paperjam' and 'sqlite' to illustrate common problems and solutions, especially for users on macOS and Linux.

Using `make` to compile C programs (for non-C-programmers)

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes