I compiled and installed GCC 4.5.1 via MacPorts in my installation of Mac OS X 10.6.4. When trying to ./configure software (such as, but not limited to: Wine 1.3.0, libjpeg, etc.), I set the compiler flag to CFLAGS = "-arch x86_64 -m64" to make sure that the compiled program will be 64-bit enabled. But I got an error during configure saying:
"checking whether the C compiler works... no"
This does not occur if I remove "-arch x86_64" from CFLAGS. Is there a solution to this? Or have I set the flags incorrectly?
Thanks!