This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
lang.opts help
- From: Philip Herron <redbrain at gcc dot gnu dot org>
- To: GCC <gcc-help at gcc dot gnu dot org>
- Date: Fri, 28 Jun 2013 15:32:26 +0100
- Subject: lang.opts help
Hey all
I have been having trouble with my lang.opts i keep getting:
hilips-MacBook:gccpy-build redbrain$ gccpy -O0 -fdump-tree-gimple t.py
-o t.o -fpy-dump-dot -fpy-gen-main
gpy1: warning: command line option ‘-fpy-dump-dot’ is valid for Python
but not for [enabled by default]
gpy1: warning: command line option ‘-fpy-gen-main’ is valid for Python
but not for [enabled by default]
gpy1: warning: command line option
‘-L/usr/local/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0’ is valid for
Go/Python but not for [enabled by default]
gpy1: warning: command line option
‘-L/usr/local/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/../../..’ is
valid for Go/Python but not for [enabled by default]
And my lang.opts is:
Language
Python
I
Python Joined Separate
; Documented in c.opt
L
Python Joined Separate
; Not documented
fpy-gen-main
Python Var(GPY_OPT_gen_main) Init(0)
-fpy-gen-main Dump out main hook such that compiled module is main
fpy-dump-dot
Python Var(GPY_OPT_dump_dot) Init(0)
-fpy-dump-dot Makes front-end dump dotIL Types and AST
o
Python Joined Separate
; Documented in common.opt
Thanks
--Phil