Skip to content

Instantly share code, notes, and snippets.

@predat
predat / gnu-toolchain.md
Last active October 21, 2022 19:54 — forked from chponte/gnu-toolchain.md
Building a complete GNU toolchain, comprised of binutils + gcc + glibc
@predat
predat / global_env_macosx.md
Last active March 11, 2020 04:38
Setup environment variables globally for macosx

Setup environment variables globally available to all apps in macosx

Before macosx 10.10 (Yosemite), you can use launchctl.conf located in /etc. This file does not exists by default; you have to create it as super user. Example:

echo "setenv OCIO /usr/local/etc/filmic-blender/config.ocio" | sudo tee /etc/launchctl.conf
@predat
predat / gist:6900036
Created October 9, 2013 11:51
host.sconf
##
## Sconf configuration for macosx with homebrew
## Status Wip
##
##
## Specific site directories
##
import os
@predat
predat / tuttleOFX_macosx_compile-error
Created October 4, 2013 09:36
TuttleOFX macosx compile error
This file has been truncated, but you can view the full file.
scons: Reading SConscript files ...
Mkdir("/Users/predat/Documents/dev/TuttleOFX/.dist/avid.highwaytv.net/gcc-4.6.4/production")
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: production mode
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: dir = /Users/predat/Documents/dev/TuttleOFX
:: dir_output_build = /Users/predat/Documents/dev/TuttleOFX/.dist/avid.highwaytv.net/gcc-4.6.4/production
:: dir_output_bin = /Users/predat/Documents/dev/TuttleOFX/dist/avid.highwaytv.net/gcc-4.6.4/production/bin
:: dir_output_plugin = /Users/predat/Documents/dev/TuttleOFX/dist/avid.highwaytv.net/gcc-4.6.4/production/plugin