Re: NEXT_ROOT environment variable ignored...
Re: NEXT_ROOT environment variable ignored...
- Subject: Re: NEXT_ROOT environment variable ignored...
- From: Chris Espinosa <email@hidden>
- Date: Mon, 16 May 2005 08:58:07 -0700
On May 16, 2005, at 8:44 AM, j o a r wrote: Are you trying to use SDKs in a project that has legacy (Jam-based) targets?
Here is a snippet of the build output from another of our projects with this problem:
Ld /Volumes/UserDisk/joar/5.2/Orc.app/Contents/MacOS/Orc normal ppc cd /Volumes/UserDisk/joar/Documents/CVSROOT/Orc5.2/clients/Orc setenv MACOSX_DEPLOYMENT_TARGET 10.2 setenv NEXT_ROOT /Developer/SDKs/MacOSX10.2.8.sdk /usr/bin/gcc-3.3 -o /Volumes/UserDisk/joar/5.2/Orc.app/Contents/MacOS/Orc -L/Volumes/UserDisk/joar/5.2 -L/Volumes/UserDisk/joar/Documents/CVSROOT/Orc5.2/clients/Orc -L/Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3 -F/Volumes/UserDisk/joar/5.2 -filelist /Volumes/UserDisk/joar/5.2/Orc.build/Orc.build/Objects-normal/ppc/Orc.LinkFileList -lorc -framework AppKit -framework ApplicationServices -framework Carbon -framework Cocoa -framework DirectoryService -framework ExceptionHandling -framework Foundation -framework OpenGL -framework OrcAdditions -arch ppc -all_load -Wl,-syslibroot,/Developer/SDKs/MacOSX10.2.8.sdk ld: warning NEXT_ROOT environment variable ignored because -syslibroot specified
The NEXT_ROOT method of specifying an SDK is, as you might guess, a hangover from the NeXT days, and has been replaced in more recent versions of gcc with the more manageable -syslibroot flag. But for 2.0 the ld linker for gcc3.3 still requires NEXT_ROOT, so we have to pass both. The warning is innocuous and can be ignored for gcc 3.3, and is absent in gcc 4.0.
Chris
|
_______________________________________________
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