discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep frameworks on Solaris


From: Andreas Hoeschler
Subject: Re: GNUstep frameworks on Solaris
Date: Wed, 31 Dec 2003 01:59:22 +0100

Hi all,

I made progress and was able to build a first framework on Solaris (many thanks to Alexander V. Diemand). However building the second one that links against the first fails with the following error:

...
cd /Build/MyTestFrame; \
/opt/GNUstep/System/Library/Makefiles/mkinstalldirs ./shared_obj; \
rm -f obj; \
ln -s ./shared_obj obj
gcc TestController.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -D_REENTRANT -fpic -fPIC -DGSWARN -DGSDIAGNOSE -O2 -Wno-import -fno-strict-aliasing -fgnu-runtime -Wno-parentheses -fconstant-string-class=NSConstantString -framework FBAccess -I/Build/MyTestFrame/derived_src -I. -I/home/ahoesch/GNUstep/Library/Headers/gnustep -I/opt/GNUstep/Local/Library/Headers/gnustep -I/opt/GNUstep/Network/Library/Headers/gnustep -I/opt/GNUstep/System/Library/Headers/gnustep -I/home/ahoesch/GNUstep/Library/Headers -I/opt/GNUstep/Local/Library/Headers -I/opt/GNUstep/Network/Library/Headers -I/opt/GNUstep/System/Library/Headers \
       -o /Build/MyTestFrame/shared_obj/TestController.o
gcc: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [/Build/MyTestFrame/shared_obj/TestController.o] Error 1
make: *** [MyTestFrame.all.framework.variables] Error 2

This is on Solaris 8 with gcc-3.3 and make-3.80. The same make file works great on MacOSX. Any idea what causes this problem?

Regards,

   Andreas

**************************************************
include $(GNUSTEP_MAKEFILES)/common.make
GNUSTEP_BUILD_DIR = /Build/MyTestFrame

ifeq ($(FOUNDATION_LIB), apple)
   GNUSTEP_INSTALLATION_DIR = /
else
   GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
endif

FRAMEWORK_NAME = MyTestFrame
MyTestFrame_HEADER_FILES = TestController.h
MyTestFrame_HEADER_FILES_INSTALL_DIR = MyTestFrame
MyTestFrame_OBJC_FILES = TestController.m
MyTestFrame_C_FILES =
#LIBRARY_NAME = libMyTestFrame
VERSION = 1.0.0
ADDITIONAL_OBJCFLAGS += -Wno-parentheses

# linking against frameworks
ADDITIONAL_INCLUDE_DIRS += -framework FBAccess
MyTestFrame_FRAMEWORK_LIBS += -framework FBAccess
LIBRARIES_DEPEND_UPON += -framework FBAccess
MyTestFrame_RESOURCE_FILES =
MyTestFrame_LOCALIZED_RESOURCE_FILES =
MyTestFrame_LANGUAGES =

# linking against addional stuff (e.g. FBCAccess)
# put this in GNUmakefile.preamble
#include GNUmakefile.preamble

include $(GNUSTEP_MAKEFILES)/framework.make





reply via email to

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