Skip to content

MulleFoundation/MulleObjCMathFoundation

Repository files navigation

MulleObjCMathFoundation

πŸ“ˆ NSNumber refines that use the math library

Extensions to MulleObjCValueFoundation, that require the math library (aka -lm).

Release Version Release Notes
Mulle kybernetiK tag Build Status RELEASENOTES

Info

Static linking of libm is not really working on Linux at least with libc. See for example: https://bugzilla.redhat.com/show_bug.cgi?id=1433347

Requirements

Requirement Release Version Description
MulleObjCValueFoundation Mulle kybernetiK tag Build Status πŸ’Ά Value classes NSNumber, NSString, NSDate, NSData
mulle-objc-list Mulle kybernetiK tag Build Status πŸ“’ Lists mulle-objc runtime information contained in executables.

You are here

Overview

Add

This project is a component of the MulleFoundation library. As such you usually will not add or install it individually, unless you specifically do not want to link against MulleFoundation.

Add as an individual component

Use mulle-sde to add MulleObjCMathFoundation to your project:

mulle-sde add github:MulleFoundation/MulleObjCMathFoundation

To only add the sources of MulleObjCMathFoundation with dependency sources use clib:

clib install --out src/MulleFoundation MulleFoundation/MulleObjCMathFoundation

Add -isystem src/MulleFoundation to your CFLAGS and compile all the sources that were downloaded with your project.

Install

Use mulle-sde to build and install MulleObjCMathFoundation and all dependencies:

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

Legacy Installation

Install the requirements:

Requirements Description
MulleObjCValueFoundation πŸ’Ά Value classes NSNumber, NSString, NSDate, NSData
mulle-objc-list πŸ“’ Lists mulle-objc runtime information contained in executables.

Download the latest tar or zip archive and unpack it.

Install MulleObjCMathFoundation 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