This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Adding a new code
- From: Vibhav Garg <vibhtech at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 13 Oct 2005 20:11:26 -0700 (PDT)
- Subject: Adding a new code
Hello,
I am trying to do some data-flow analysis for a
project for which I am adding a new pass to the
optimization code.
I have modified the Makefiles to properly compile the
code, and it is able to create the object files
correctly, but fails at this point
ranlib libbackend.a
gcc -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING
-DIN_GCC -W -Wall -Wwrite-
strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -DHAV
E_CONFIG_H -o cc1.exe \
c-parse.o c-lang.o stub-objc.o attribs.o
c-errors.o c-lex.o c-pragma.o c
-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o
c-opts.o c-format.o c-sem
antics.o c-incpath.o cppdefault.o c-ppoutput.o
c-cppbuiltin.o prefix.o c-objc-co
mmon.o c-dump.o c-pch.o cygwin2.o c-gimplify.o
tree-mudflap.o c-pretty-print.o m
ain.o libbackend.a ../libcpp/libcpp.a
../libcpp/libcpp.a -lintl -liconv ../libi
berty/libiberty.a
libbackend.a(tree-optimize.o): In function
`init_tree_optimization_passes':
/cygdrive/c/gcc-4.0.2/gcc/tree-optimize.c:337:
undefined reference to `_pass_dfa
Can anyone tell me what the problem might be and how
to fix it?
Thanks