The Post Contains Link 2 Troubleshooting for Mac OS X "configure: error: C compiler cannot create executables" CFLAGS 10.6 10.7.
Link to the Troubleshooting CFLAGS Searching Guide is Here Below: