Skip to content

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 AI Documentation
Mulle kybernetiK tag Build Status RELEASENOTES DeepWiki for MulleObjCStandardFoundation-startup

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:

PREFIX_DIR="/usr/local"
cmake -B build                               \
      -DMULLE_SDK_PATH="${PREFIX_DIR}"       \
      -DCMAKE_INSTALL_PREFIX="${PREFIX_DIR}" \
      -DCMAKE_PREFIX_PATH="${PREFIX_DIR}"    \
      -DCMAKE_BUILD_TYPE=Release &&
cmake --build build --config Release &&
cmake --install build --config Release

Author

Nat! for Mulle kybernetiK

About

▶️ Startup library for MulleObjCStandardFoundation based executables

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •