#!/bin/sh
DoExitAsm ()
{ echo "An error occurred while assembling $1"; exit 1; }
DoExitLink ()
{ echo "An error occurred while linking $1"; exit 1; }
echo Linking basic
OFS=$IFS
IFS="
"
/usr/bin/ld /Developer/SDKs/MacOSX10.4u.sdk//usr/lib/crt1.o  -macosx_version_min 10.4   -dead_strip -no_dead_strip_inits_and_terms -x -pagezero_size 0x10000 -multiply_defined suppress -L. -o basic `cat link.res`
if [ $? != 0 ]; then DoExitLink basic; fi
IFS=$OFS
