This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: main() in toplev.c


On Mon, Jan 08, 2001 at 12:55:00PM +1100, Fergus Henderson wrote:
> 
> Then I could build the gcc
> back-end as a library.

Well, large parts are already scrunched together as an .a file for
convenience.  I believe toplev.c is already included in that collection.
Redefining main() shouldn't be too hard on a language-by-language basis.

(For a moment I thought you meant a shared library.  We don't want to go
there again, not in this thread, not just before a Monday... :-)


Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]