Xcode 2.1 & gcc 3.3 ?
Xcode 2.1 & gcc 3.3 ?
- Subject: Xcode 2.1 & gcc 3.3 ?
- From: Alec Carlson <email@hidden>
- Date: Mon, 29 Aug 2005 10:26:21 -0500
Title: Xcode 2.1 & gcc 3.3 ?
I have some applications that I need to support on OSX 10.2.x and 10.3.x. I see from the gcc 4.0 release notes that I cannot build apps with 4.0 that will run on any OS release but 10.3.9 and 10.4.x. As a result, I have switched my default compiler to gcc 3.3 (via gcc_select). This all seems to be working OK except that I get the following warning during linking:
mkdir /Development/ProductX_211/ProductX/DeviceDrivers/USBDriver/build/Development/USBDriver.kext/Contents/MacOS
cd /Development/ProductX_211/ProductX/DeviceDrivers/USBDriver
setenv MACOSX_DEPLOYMENT_TARGET 10.2
setenv NEXT_ROOT /Developer/SDKs/MacOSX10.2.8.sdk
/usr/bin/g++-3.3 -o /Development/ProductX_211/ProductX/DeviceDrivers/USBDriver/build/Development/USBDriver.kext/Contents/MacOS/USBDriver -L/Development/ProductX_211/ProductX/DeviceDrivers/USBDriver/build/Development -L/Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3 -F/Development/ProductX_211/ProductX/DeviceDrivers/USBDriver/build/Development -filelist /Development/ProductX_211/ProductX/DeviceDrivers/USBDriver/build/USBDriver.build/Development/USBSerial.build/Objects-normal/ppc/USBDriver.LinkFileList -arch ppc -static -nostdlib -r -lkmodc++ /Development/ProductX_211/ProductX/DeviceDrivers/USBDriver/build/USBDriver.build/Development/USBSerial.build/Objects-normal/ppc/USBDriver_info.o -lkmod -lcc_kext -Wl,-syslibroot,/Developer/SDKs/MacOSX10.2.8.sdk
ld: warning NEXT_ROOT environment variable ignored because -syslibroot specified
I realize that this is just a warning but my QC group (which does my release builds) frowns on any kind of compiler warning or error during the release build process. Is there a way for me to prevent this warning from occuring ?
Thanx -
Alec Carlson
-----------------------------------------------------------------------
Time is Short, and the Water Rises
-----------------------------------------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden