hello,
...I'm a bit puzzled: after upgrading an older xcode 1.5 project to xcode 2.2preview1 and recompiling, the application binary size has more than doubled! Both times I've used gcc 3.3, and I've checked to make sure that debugging symbols are stripped, but whereas it used to only be 3.6MB, now it's 7.5MB...the only major difference I can think of is that I'm compiling the new app against the 10.2.8.sdk, so I'm wondering if that adds heft to the final product?
...Can anyone think of something I may be missing?
thanx, jamie
ps: here's a typical compile line followed by a link command:
setenv MACOSX_DEPLOYMENT_TARGET 10.2 setenv NEXT_ROOT /Developer/SDKs/MacOSX10.2.8.sdk /usr/bin/g++-3.3 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -DFS2_DEMO -DPLAT_UNIX -DNDEBUG -DMVE -DRELEASE_REAL -fmessage-length=0 -mtune=G4 -Wp,-header-mapfile,/Users/tigital/dev/freespace2/osx/build/fs2.build/Deployment/Freespace2demo.build/Freespace2demo.hmap -Wall -Wno-missing-braces -Wno-multichar -fsigned-char -Wno-four-char-constants -Wno-unknown-pragmas -mdynamic-no-pic -F/Users/tigital/dev/freespace2/osx/build/Deployment -F/Users/tigital/dev/freespace2/osx/../../openal/mac/al_osx/build -F/Users/tigital/dev/freespace2/osx/../../SDL12/Xcode/SDL/build -I/Users/tigital/dev/freespace2/osx/build/Deployment/include -I../include -I../../SDL12/include -I../../openal/include -I/Users/tigital/dev/freespace2/osx/build/fs2.build/Deployment/Freespace2demo.build/DerivedSources -isystem /Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin/ -I/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin//c++ -I/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin//c++/ppc-darwin -isystem /Developer/SDKs/MacOSX10.2.8.sdk/usr/include -c /Users/tigital/dev/freespace2/osx/../src/sound/audiostr-openal.cpp -o /Users/tigital/dev/freespace2/osx/build/fs2.build/Deployment/Freespace2demo.build/Objects-normal/ppc/audiostr-openal.o
setenv MACOSX_DEPLOYMENT_TARGET 10.2 setenv NEXT_ROOT /Developer/SDKs/MacOSX10.2.8.sdk /usr/bin/g++-3.3 -o /Users/tigital/dev/freespace2/osx/build/Deployment/Freespace2demo.app/Contents/MacOS/Freespace2demo -L/Users/tigital/dev/freespace2/osx/build/Deployment -L/Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3 -F/Users/tigital/dev/freespace2/osx/build/Deployment -F/Users/tigital/dev/freespace2/osx/../../openal/mac/al_osx/build -F/Users/tigital/dev/freespace2/osx/../../SDL12/Xcode/SDL/build -filelist /Users/tigital/dev/freespace2/osx/build/fs2.build/Deployment/Freespace2demo.build/Objects-normal/ppc/Freespace2demo.LinkFileList -framework OpenGL -framework Cocoa -framework OpenAL -framework SDL -arch ppc -framework SDL -framework OpenAL -framework AGL -Wl,-syslibroot,/Developer/SDKs/MacOSX10.2.8.sdk |