discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cross platform development with gnustep make


From: Andreas Höschler
Subject: Cross platform development with gnustep make
Date: Fri, 6 Jun 2008 18:35:52 +0200

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]