Warning with NEXT_ROOT environment and libgcc.a
Warning with NEXT_ROOT environment and libgcc.a
- Subject: Warning with NEXT_ROOT environment and libgcc.a
- From: Conor Dearden <email@hidden>
- Date: Sat, 28 Jan 2006 14:01:47 +0100
Two warnings I can't get rid of with building a universal binary
The first one has to do with libgcc.a that it's looking for in the 10.3.9
sdk instead of the 10.4 sdk. How do I change that?
warning:
/usr/bin/ld: warning
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin7/4.0.0/lib
gcc.a archive's cputype (18, architecture ppc) does not match cputype (7)
for specified -arch flag: i386 (can't load from it)
Line that produces it:
Ld
/Users/fa/Gamepedia/build/Gamepedia.build/Release/Gamepedia.build/Objects-no
rmal/i386/Gamepedia normal i386
cd /Users/fa/Gamepedia
setenv MACOSX_DEPLOYMENT_TARGET 10.4
/usr/bin/gcc-4.0 -o
/Users/fa/Gamepedia/build/Gamepedia.build/Release/Gamepedia.build/Objects-no
rmal/i386/Gamepedia -L/Users/fa/Gamepedia/build/Release
-L/Users/fa/Gamepedia
-L/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin7/4.0.0
-F/Users/fa/Gamepedia/build/Release -F/Users/fa/Gamepedia
-F/Users/fa/Gamepedia/../Pediabase/build/Release -filelist
/Users/fa/Gamepedia/build/Gamepedia.build/Release/Gamepedia.build/Objects-no
rmal/i386/Gamepedia.LinkFileList -framework Cocoa -framework AddressBook
-framework DotMacKit -framework WebKit -framework Pediabase -arch i386
-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
Second warning:
In a private framework during the ppc linking I get the following warning:
NEXT_ROOT environment variable ignored because -syslibroot specified
from this build line:
Ld
/Users/fa/Pediabase/build/Pediabase.build/Release/Pediabase.build/Objects-no
rmal/ppc/Pediabase normal ppc
cd /Users/fa/Pediabase
setenv MACOSX_DEPLOYMENT_TARGET 10.3
setenv NEXT_ROOT /Developer/SDKs/MacOSX10.4u.sdk
/usr/bin/gcc-3.3 -o
/Users/fa/Pediabase/build/Pediabase.build/Release/Pediabase.build/Objects-no
rmal/ppc/Pediabase -L/Users/fa/Pediabase/build/Release -L/Users/fa/Pediabase
-L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/darwin/3.3
-F/Users/fa/Pediabase/build/Release -F/Users/fa/Pediabase -filelist
/Users/fa/Pediabase/build/Pediabase.build/Release/Pediabase.build/Objects-no
rmal/ppc/Pediabase.LinkFileList -framework Cocoa -framework Carbon
-framework QuickTime -lEWS -lValidateUniversal -arch ppc -Wl,-single_module
-compatibility_version 1 -current_version 1 -install_name
@executable_path/../Frameworks/Pediabase.framework/Versions/A/Pediabase
-dynamiclib -mmacosx-version-min=10.3 -seg1addr 0xC0000000
-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk
I know these can be obscure warnings or unusual, but even a hint at what
settings I should trial and error with would be a appreciated.
Conor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden