Put main() in a separate file, so that the language
authorFergus Henderson <fjh@cs.mu.oz.au>
Mon, 5 Mar 2001 12:17:45 +0000 (12:17 +0000)
committerFergus Henderson <fjh@gcc.gnu.org>
Mon, 5 Mar 2001 12:17:45 +0000 (12:17 +0000)
commitaa5b94de8489f1c17727c69aec521ffa660622a6
tree105a2919154859f7d662864db7555e317b9cc8c0
parenta22f570364f4497027c873bcdcad34dd272ef115
Put main() in a separate file, so that the language
front-end can use a different main().

* main.c: New.
* toplev.c: (main): Rename as toplev_main.
* toplev.h: Declare toplev_main.
* Makefile.in (OBJS): add toplev.o.
  (BACKEND): remove toplev.o, add main.o.

From-SVN: r40247
gcc/ChangeLog
gcc/Makefile.in
gcc/main.c [new file with mode: 0644]
gcc/toplev.c
gcc/toplev.h