How to compile on Leopard for Tiger

If you like me happen to use Enhanced CTorrent and you want to run it on your macmini at home that is still running Mac OS X Tiger but you need to compile it on your laptop that is running Leopard you might run into the same problem I did. The executable you get will work on Leopard but on Tiger it will just give “Bus error”.

The solution for this is to do:

export MACOSX_DEPLOYMENT_TARGET=10.4

before you run ./configure