|
From: James W. W. <os...@jw...> - 2009-04-24 15:47:54
|
On Apr 22, 2009, at 9:58 AM, Sean McBride wrote: > 1) In Quesa-common.xcconfig we have: > GCC_FAST_MATH = YES > > From my understanding, this option is not generally recommended. Is > it > really needed? Can you give me any references? I googled it, and couldn't find any recommendations one way or another. But to me, the word "fast" is a recommendation. > 2) In Quesa.h we have: > #pragma options align=power > > Is this really needed? Can we wrap it in #if TARGET_RT_MAC_CFM so > that > it only applies to Mac OS 9? It probably is a relic of QD3D. I expect that as long as the alignment of the header agrees with the alignment used to build Quesa, then it shouldn't matter. So I think we can wrap it as you suggest. > 3) In Debug, the static library is named libQuesaD.a and in Release it > is libQuesa.a. Why is this? For CodeWarrior this would be handy, but > for Xcode it is annoying because Xcode does not allow different > libraries to be used in different configurations. The only way to do > that with Xcode is to pass -libQuesa as a linker flag and change > library > search paths between Debug and Release. This requires the libs to > have > the same name. I don't know why, and wouldn't object to changing it. (I always use Quesa as a framework.) However, I don't think it's exactly true that Xcode doesn't allow different libraries to be used in different configurations. You can use a trick of putting symbolic links in the build product Release and Debug folders, and then putting one of those links in the project with a Build Product-relative path. |