Compiling Emacs.app on NEXTSPACE (CentOS 7)

Source: https://github.com/trunkmaster/nextspace

Patch the operating system

The public headers no longer use __unused nor __block. This change is to support compiling programs that are derived from BSD sources and use __unused internally, and to support compiling with Clang’s -fblock extension which uses __block.

Compile Emacs

source /Developer/Makefiles/GNUstep.sh
sh autogen.sh
CC=/usr/bin/clang ./configure --with-ns --with-gnustep-conf=/Library/Preferences/GNUstep.conf --with-mailutils
make

--

--

Learning content for the GNU operating system and Lisp user space, developed through my eponymous nonprofit (https://enzu.ru)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
enzu.ru

Learning content for the GNU operating system and Lisp user space, developed through my eponymous nonprofit (https://enzu.ru)