Displaying 5 results from an estimated 5 matches for "cpp_options".
Did you mean:
cpp_options+
2008 Oct 31
3
[LLVMdev] gfortran link failure in current llvm svn
...Try this not so elegant and untested patch.
-
Devang
Index: lang-specs.h
===================================================================
--- lang-specs.h (revision 57986)
+++ lang-specs.h (working copy)
@@ -14,7 +14,9 @@
"cc1 -E -lang-fortran -traditional-cpp -D_LANGUAGE_FORTRAN %
(cpp_options) \
%{E|M|MM:%(cpp_debug_options)}\
%{!M:%{!MM:%{!E: -o %|.f |\n\
- f951 %|.f %{!ffree-form:-ffixed-form} %(cc1_options) %{J*} %{I*}\
+ f951 %|.f %{!ffree-form:-ffixed-form} %(cc1_options) \
+ %<Wformat %<Wformat-security %<Wno-format-extra-args %<Wno-format-
ze...
2008 Oct 31
0
[LLVMdev] gfortran link failure in current llvm svn
On Oct 30, 2008, at 5:23 PM, Jack Howarth wrote:
> ps We do have one oddity left in llvm-gfortran from current llvm
> svn. I find everytime I compile something with llvm-gfortran that
> I get a series of warning messages...
>
> f951: warning: command line option "-Wformat" is valid for C/C++/
> ObjC/ObjC++ but not for Fortran
> f951: warning: command line option
2008 Oct 31
5
[LLVMdev] gfortran link failure in current llvm svn
Chris and Bill,
I have tested the proposed patch from...
http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-August/016490.html
under i686-apple-darwin9 and it solves the problems building gfortran
from llvm svn. The resulting compiler works fine so can we get that
patch in before 2.4 is release?
Jack
ps We do have one oddity left in llvm-gfortran from current llvm
svn. I find
2011 Sep 16
2
[LLVMdev] How to duplicate a function?
...arwin)
#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) $(shell $(LLVM_CONFIG) --cppflags) -MD -MP
-I$(SRC_DIR)
LD_OPTIONS+=$(LDFLAGS) $(shell $(LLVM_CONFIG) --ldflags)
all: $(ALL_TARGETS)
%.o : $(SRC_DIR)/%.cpp
@echo Compiling $*.cpp
$(QUIET)$(CXX) -c $(CPP_OPTIONS) $(CXXFLAGS) $<
$(PLUGIN): $(PLUGIN_OBJECTS)
@echo Linki...
2008 Mar 05
0
Press delete key three times in R-2.6.1 to get segmentation fault (PR#10892)
...} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}
*asm_debug:
%{gstabs*:--gstabs}%{!gstabs*:%{g*:--gdwarf2}}
*asm_final:
*asm_options:
%a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}
*invoke_as:
%{!S:-o %|.s |
as %(asm_options) %|.s %A }
*cpp:
%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}
*cpp_options:
%(cpp_unique_options) %1 %{m*} %{std*&ansi&trigraphs} %{W*&pedantic*} %{w}
%{f*} %{g*:%{!g0:%{!fno-working-directory:-fworking-directory}}} %{O*} %{undef}
%{save-temps:-fpch-preprocess}
*cpp_debug_options:
%{d*}
*cpp_unique_options:
%{C|CC:%{!E:%eGCC does not support -C or -CC w...