search for: loadable_module_opt

Displaying 6 results from an estimated 6 matches for "loadable_module_opt".

2011 Sep 16
2
[LLVMdev] How to duplicate a function?
...u want separate source and object directories. SRC_DIR?=$(PWD) #ifndef VERBOSE # QUIET:=@ #endif COMMON_FLAGS=-Wall -Wextra #-fvisibility=hidden CFLAGS+=$(COMMON_FLAGS) $(shell $(LLVM_CONFIG) --cflags) CXXFLAGS+=$(COMMON_FLAGS) $(shell $(LLVM_CONFIG) --cxxflags) #ifeq ($(shell uname),Darwin) #LOADABLE_MODULE_OPTIONS=-bundle -undefined dynamic_lookup #else LOADABLE_MODULE_OPTIONS=-shared -Wl,-O1 #endif TEST_C=test.c TEST_FILE=$(subst .c,.s, $(TEST_C)) PLUGIN=duplicateFunction.so PLUGIN_OBJECTS=duplicateFunction.o ALL_OBJECTS=$(PLUGIN_OBJECTS) ALL_TARGETS=$(PLUGIN) $(TEST_FILE) CPP_OPTIONS+=$(CPPFLAGS) $(...
2012 Dec 07
2
[LLVMdev] dragonegg now requires clang
...$(COMMON_FLAGS) $(shell $(LLVM_CONFIG) --cxxflags) +CFLAGS+=$(COMMON_FLAGS) $(shell $(LLVM_CONFIG) --cflags | sed -e 's/-Wcovered-switch-default//') +CXXFLAGS+=$(COMMON_FLAGS) $(shell $(LLVM_CONFIG) --cxxflags | sed -e 's/-Wcovered-switch-default//') ifeq ($(shell uname),Darwin) LOADABLE_MODULE_OPTIONS=-bundle -undefined dynamic_lookup @@ -76,7 +76,7 @@ ALL_OBJECTS=$(PLUGIN_OBJECTS) $(TARGET_OBJECT) $(TARGET_UTIL_OBJECTS) -CPP_OPTIONS+=$(CPPFLAGS) $(shell $(LLVM_CONFIG) --cppflags) \ +CPP_OPTIONS+=$(CPPFLAGS) $(shell $(LLVM_CONFIG) --cppflags | sed -e 's/-Wcovered-switch-default//...
2012 Dec 07
0
[LLVMdev] dragonegg now requires clang
...(LLVM_CONFIG) --cxxflags) > +CFLAGS+=$(COMMON_FLAGS) $(shell $(LLVM_CONFIG) --cflags | sed -e 's/-Wcovered-switch-default//') > +CXXFLAGS+=$(COMMON_FLAGS) $(shell $(LLVM_CONFIG) --cxxflags | sed -e 's/-Wcovered-switch-default//') > > ifeq ($(shell uname),Darwin) > LOADABLE_MODULE_OPTIONS=-bundle -undefined dynamic_lookup > @@ -76,7 +76,7 @@ > > ALL_OBJECTS=$(PLUGIN_OBJECTS) $(TARGET_OBJECT) $(TARGET_UTIL_OBJECTS) > > -CPP_OPTIONS+=$(CPPFLAGS) $(shell $(LLVM_CONFIG) --cppflags) \ > +CPP_OPTIONS+=$(CPPFLAGS) $(shell $(LLVM_CONFIG) --cppflags | sed -e 's/-W...
2012 Dec 09
1
[LLVMdev] dragonegg now requires clang
...$(COMMON_FLAGS) $(shell $(LLVM_CONFIG) --cxxflags) +CFLAGS+=$(COMMON_FLAGS) $(shell $(LLVM_CONFIG) --cflags | sed -e 's/-Wcovered-switch-default//') +CXXFLAGS+=$(COMMON_FLAGS) $(shell $(LLVM_CONFIG) --cxxflags | sed -e 's/-Wcovered-switch-default//') ifeq ($(shell uname),Darwin) LOADABLE_MODULE_OPTIONS=-bundle -undefined dynamic_lookup @@ -76,7 +76,7 @@ TARGET_UTIL=./TargetInfo ALL_OBJECTS=$(PLUGIN_OBJECTS) $(TARGET_OBJECT) $(TARGET_UTIL_OBJECTS) -CPP_OPTIONS+=$(CPPFLAGS) $(shell $(LLVM_CONFIG) --cppflags) \ +CPP_OPTIONS+=$(CPPFLAGS) $(shell $(LLVM_CONFIG) --cppflags | sed -e 's/-Wco...
2012 Dec 07
0
[LLVMdev] dragonegg now requires clang
Hi Jack, this occurs because you compiled LLVM with clang (right?) and dragonegg is compiled with the same flags used to compile LLVM (it is an llvm-config bug in my opinion that llvm-config output includes these kinds of optional flags). Ciao, Duncan. On 07/12/12 18:11, Jack Howarth wrote: > Duncan, > I am unable to complile dragonegg 3.2 with FSF gcc 4.7 due the the > compiler
2012 Dec 07
2
[LLVMdev] dragonegg now requires clang
Duncan, I am unable to complile dragonegg 3.2 with FSF gcc 4.7 due the the compiler errors... GCC=/sw/lib/gcc4.7/bin/gcc-4 LLVM_CONFIG=/sw/opt/llvm-3.2/bin/llvm-config VERBOSE=1 ENABLE_LLVM_PLUGINS=1 make CPPFLAGS="-g -DENABLE_LTO -I/sw/include" /sw/lib/gcc4.7/bin/gcc-4 --version > /dev/null /sw/opt/llvm-3.2/bin/llvm-config --version > /dev/null Compiling utils/TargetInfo.cpp