Hi,
I have a similar problem, trying to run gpc on Mac OS X 10.8.1
After installing Xcode 4.4.1 I've got
ld: warning: -macosx_version_min not specified, assuming 10.7 ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in __start from /Developer/SDKs/MacOSX10.5.sdk//usr/lib/crt1.o. To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
But the compiled program runs fine.
Then I installed cctools-576.
And this broke gpc:
$ gpc h.p gpc: installation problem, cannot exec `as': Bad CPU type in executable
Now how can I uninstall cctools-576?
Greetings,
Wolfgang