Not as a mac developer but as a developer on a lot of differing machines
I have a couple of things that you could consider:
1/ If you can get XCode 4.2 for your machine and it still gives the
errors then you can fix them and then deliver the source code,
2/ That many errors suggest a missing file in the source that you
installed or possibly a missing flag if you have conditionally
compilation in your files, (i.e. #ifdef ), these possibilities should be
investigated.
3/ Fix ALL the warnings in your code, preferably with the warnings
turned up to maximum - a warning on one compiler is sometimes an error
on another.
4/ Try building your code with gcc with the flags -Wall -Werror
-std=ANSI and FIX any errors/warnings - if your code is well behaved
ANSI code it should run just about anywhere.
N.B. Fix in both the above doesn't mean turning off the error, using any
#ifdef __ANSI__ / __VISUAL_C__ etc it means actually resolving the
issue(s) that cause the error/warning.
5/ Get a copy of Lint and run it on your code, other than the naming
convention messages just about everything that it will point out will be
either a potential bug/portability issue, etc., so ideally you resolve
all of them.
In general any ANSI compliant, clean code should run on just about anything.
Sorry that this is so general rather than Mac specific but it may help.
Gadget/Steve