Skip to content

▶️ Startup library for MulleObjCStandardFoundation based executables

License

Notifications You must be signed in to change notification settings

MulleFoundation/MulleObjCStandardFoundation-startup

Repository files navigation

MulleObjCStandardFoundation-startup

▶️ Startup code for MulleObjCStandardFoundation

This static library provides the required __register_mulle_objc_universe function for executables, that link against MulleObjCStandardFoundation.

Hardly anyone ever does this though, except MulleObjCStandardFoundation tests.

Projects will usually rather link against the Foundation though, and will use its startup library.

Release Version Release Notes
Mulle kybernetiK tag Build Status RELEASENOTES

Info

The main raison d'être of MulleObjCStandardFoundation-startup as a seperate library is to bequeath the required dependencies mulle-atinit and mulle-atexit for linking with the executable.

Requirements

Requirement Release Version Description
MulleObjCStandardFoundation Mulle kybernetiK tag Build Status 🚤 Objective-C classes based on the C standard library
mulle-atinit Mulle kybernetiK tag Build Status 🤱🏼 Compatibility library for deterministic initializers
mulle-atexit Mulle kybernetiK tag Build Status 👼 Compatibility library to fix atexit

You are here

Overview

Add

Use mulle-sde to add MulleObjCStandardFoundation-startup to your project:

mulle-sde add github:MulleFoundation/MulleObjCStandardFoundation-startup

Install

Use mulle-sde to build and install MulleObjCStandardFoundation-startup and all dependencies:

mulle-sde install --prefix /usr/local \
   https://github.com/MulleFoundation/MulleObjCStandardFoundation-startup/archive/latest.tar.gz

Legacy Installation

Install the requirements:

Requirements Description
MulleObjCStandardFoundation 🚤 Objective-C classes based on the C standard library
mulle-atinit 🤱🏼 Compatibility library for deterministic initializers
mulle-atexit 👼 Compatibility library to fix atexit

Download the latest tar or zip archive and unpack it.

Install MulleObjCStandardFoundation-startup into /usr/local with cmake:

cmake -B build \
      -DCMAKE_INSTALL_PREFIX=/usr/local \
      -DCMAKE_PREFIX_PATH=/usr/local \
      -DCMAKE_BUILD_TYPE=Release &&
cmake --build build --config Release &&
cmake --install build --config Release

Author

Nat! for Mulle kybernetiK