News for hackers. Stuff that matters.
Re:Make your STDERR red by tlrobinson on Tuesday December 13, 2011 @06:26PM (#3349852)
On OS X:

    gcc stderred.c -D_GNU_SOURCE -Wall -ldl -fPIC -shared -o lib/stderred.dyld
    alias stderred='DYLD_INSERT_LIBRARIES=$PWD/lib/stderred.dyld DYLD_FORCE_FLAT_NAMESPACE=1'
    stderred python -c 'import os; print "Yo!"; os.write(2, "Jola\n\r")'
(replace $PWD with the absolute path if you're adding this to your shell config, of course)
Re:Make your STDERR red by sickill on Wednesday December 14, 2011 @04:15AM (#3351176)
Cool, looks like the same gcc flags works for OSX.