discuss-gnustep
[Top][All Lists]
Advanced

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

How to see gcc invocations while building


From: Andreas Hoeschler
Subject: How to see gcc invocations while building
Date: Wed, 31 Dec 2003 01:28:24 +0100

Hi all,

I don't know if this is gnumake or GNUstep make package related, but how do I cause the make system to output the gcc invocations while building? I am getting the following error

bash-2.03$ make
Making build-headers for framework MyTestFrame...
Making all for framework MyTestFrame...
 Compiling file TestController.m ...
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


and would liek to see, what is passed to gcc. This looks like a bug in GNUstep make. I would be happy if it were my makefile (appended). If so please let me know.

Regards,

   Andreas


# This makefile automatically links against GNUstep frameworks and GNUstep libraries # If additionally you want to link against a non-GNUstep library (e.g.) FBCAccess,
# use Framework_FrontBase.makefile instead

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]