avatar

Andres Jaimes

Installing bash on macOS

A quick post on how to install bash on macOS to replace zsh.

Why did Apple stop shipping with bash? Licenses. The older version of Bash was licensed under GPLv2, while newer versions are licensed under GPLv3.

Installing bash

Run the following command …

Creating a simple static library

This article describes how to create a simple static library using C++. A static library is a collection of object files that are linked with and copied into a target application at compile time. The resulting executable contains all the object code …

Creating a simple dynamic library

This article describes how to create a simple shared library using C++. A shared library is a collection of object files that are linked with and loaded into a target application at runtime. The resulting executable contains only the object code that …

How to create a Finder Alias on Mac

A Finder alias is a special kind of shortcut or link to a folder. You can place this alias anywhere, being the Desktop a common place. You can even create an alias from a shared folder on a server.

To create an alias:

  • Open Finder and look for the …

A simple Makefile

Learning how to create a Makefile is one of those tasks every C/C++ programmer has to do. Since there are many good make tutorials on the web, I’m only going to share a simplistic makefile that you can use for your projects.

CFLAGS=-c -Wall -Iinclude …