#!/usr/bin/env bash

gcc="g++-apple-4.2"

"$gcc" \
    -v \
    -mmacosx-version-min=10.6 \
    -isysroot /Developer/SDKs/MacOSX10.6.sdk \
    -Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk \
    -g -O -Wall -o a.out test.cpp \
    -I/opt/local/include /opt/local/lib/libcrypto.dylib /opt/local/lib/libssl.dylib
