Hi all,

after migrating from MacOSX 10.2 to MacOSX 10.5 I get a bunch of the following warnings (due to the newer gcc) when building frameworks with gnustep make.

i686-apple-darwin9-gcc-4.0.1: -framework: linker input file unused because linking not done i686-apple-darwin9-gcc-4.0.1: AppKit: linker input file unused because linking not done i686-apple-darwin9-gcc-4.0.1: -framework: linker input file unused because linking not done i686-apple-darwin9-gcc-4.0.1: SRAppKit: linker input file unused because linking not done i686-apple-darwin9-gcc-4.0.1: -framework: linker input file unused because linking not done i686-apple-darwin9-gcc-4.0.1: SRDesign: linker input file unused because linking not done i686-apple-darwin9-gcc-4.0.1: -framework: linker input file unused because linking not done i686-apple-darwin9-gcc-4.0.1: SREnterprise: linker input file unused because linking not done i686-apple-darwin9-gcc-4.0.1: -framework: linker input file unused because linking not done i686-apple-darwin9-gcc-4.0.1: SRFoundation: linker input file unused because linking not done i686-apple-darwin9-gcc-4.0.1: -framework: linker input file unused because linking not done i686-apple-darwin9-gcc-4.0.1: SRObjects: linker input file unused because linking not done

gcc --v

Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable- checking -enable-werror --prefix=/usr --mandir=/share/man --enable- languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ $/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/ lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic -- host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)

The resulting frameworks are usuable and link fine with tools and applications. This output is just annoying and makes it hard to extract useful info (warnings and errors) from the gcc output. Any idea how this can be prevented. My GNUmakefile looks as follows:

...
LIBRARY_NAME = libSRInterface
VERSION = 1.0.0
ADDITIONAL_OBJCFLAGS += -Wno-parentheses -Wno-import
ADDITIONAL_INCLUDE_DIRS += -framework AppKit -framework SRAppKit -framework SRDesign -framework SREnterprise -framework SRFoundation -framework SRObjects SRInterface_FRAMEWORK_LIBS += -framework AppKit -framework SRAppKit -framework SRDesign -framework SREnterprise -framework SRFoundation -framework SRObjects LIBRARIES_DEPEND_UPON += -framework AppKit -framework SRAppKit -framework SRDesign -framework SREnterprise -framework SRFoundation -framework SRObjects SRInterface_RESOURCE_FILES = MultipleObjects.tiff DocumentIcon.tiff SingleObject.tiff
...

Thanks a lot,

   Andreas



_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to