If we do a search of main function in gcc4..0.2/gcc directory, we can find
several.
I understand collect2.c-->collect2, main.c (wrapper of toplev.c) -->cc1,
gcov.c-->gcov. Can someone give a brief introduction what gen*() is ued for?
For example, genattr is compiled to destgcc/gcc/build/genattr, but I don't
see anything else calls this executable.
Thanks,
Sean
----------------------------------------------------
gcc> grep "main (int " *.c
collect2.c:main (int argc, char **argv)
fix-header.c:main (int argc, char **argv)
gcc.c:main (int argc, const char **argv)
gcov.c:main (int argc, char **argv)
gcov-dump.c:main (int argc ATTRIBUTE_UNUSED, char **argv)
gcov-iov.c:main (int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED)
genattr.c:main (int argc, char **argv)
genattrtab.c:main (int argc, char **argv)
gencheck.c:main (int argc, char ** ARG_UNUSED (argv))
gencodes.c:main (int argc, char **argv)
genconditions.c:main (int argc, char **argv)
genconfig.c:main (int argc, char **argv)
genconstants.c:main (int argc, char **argv)
genemit.c:main (int argc, char **argv)
genextract.c:main (int argc, char **argv)
genflags.c:main (int argc, char **argv)
gengenrtl.c:main (int argc, char **argv)
gengtype.c:extern int main (int argc, char **argv);
genmddeps.c:main (int argc, char **argv)
genopinit.c:main (int argc, char **argv)
genoutput.c:main (int argc, char **argv)
genpeep.c:main (int argc, char **argv)
genpreds.c:main (int argc, char **argv)
gen-protos.c:main (int argc ATTRIBUTE_UNUSED, char **argv)
genrecog.c:main (int argc, char **argv)
main.c:int main (int argc, char **argv);
main.c:main (int argc, char **argv)
mips-tdump.c:main (int argc, char **argv)
mips-tfile.c:main (int argc, char **argv)
protoize.c:main (int argc, char **const argv)
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/