Displaying 4 results from an estimated 4 matches for "target_util".
2011 Apr 18
0
[LLVMdev] [EXPERIMENTAL] Building Dragonegg on Cygwin
...-DGCC_MAJOR=$(GCC_MAJOR) -DGCC_MINOR=$(GCC_MINOR) \
-I$(INCLUDE_DIR) -I$(GCC_PLUGIN_DIR)/include
+LD_OPTIONS+=-Wl,-e,_lazymain at 12 -L $(GCC_PLUGIN_DIR)/lib -lcc1
+
LD_OPTIONS+=$(shell $(LLVM_CONFIG) --ldflags) $(LDFLAGS)
# NOTE: The following flags can only be used after TARGET_UTIL has been built.
6. check
$ /path/to/installed/gcc/bin/g++.exe -fplugin=./dragonegg.dll -O3 -S
hello.c -fplugin-arg-dragonegg-emit-ir
$ cat hello.s
; ModuleID = 'hello.c'
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:12...
2012 Dec 09
1
[LLVMdev] dragonegg now requires clang
...$(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/-Wcovered-switch-default//') \
-fno-rtti \
-MD -MP \...
2012 Dec 07
0
[LLVMdev] dragonegg now requires clang
...+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//') \
> -fno-rtti \
> -MD -MP \
> -DIN_GCC -DLLVM_VERSIO...
2012 Dec 07
2
[LLVMdev] dragonegg now requires clang
...vered-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//') \
-fno-rtti \
-MD -MP \
-DIN_GCC -DLLVM_VERSION=\"$(LLVM_VERSION)\"...