I have been trying to replace everything in xcode with stuff I can get from macports. So far, I installed xcode, then macports, then used macports to install gcc, gcc_select, gmake, elf-bintools, bintools, arm-bintools (just to be sure I replaced all the bintools), and then uninstalled all of xcode. I then linked /usr/bin/make with /opt/local/bin/gmake and used gcc_select to select gcc44--the one from macports. I also exported all the bintool executable paths into the .profile path.
I was sure this would work (although I should have known better after working on it for 48 hours straight), but nothing will configure, and the log files all have the common error:
:info:configure configure: error: C compiler cannot create executables
I have a feeling it has something to do with libraries, but I am really not sure.
I use a mac 10.5.8.
If this is truely 'impossible', what parts of xcode to I need for macports to work? For example, I can uninstall the xcode folder without a problem.