🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #111

Is there a way of preventing automatic __main creation?

#111
From: Jeremy Fitzhardinge
Date: Tue, 14 Apr 1992 09:04
10 lines
722 bytes
I'm using gcc 2.1 to compile a standalone system, which has its own startup code,
etc.  Is there a way of preventing gcc from automatically generating a call to
__main from within main()?

Thanks,
	Jeremy

--
jeremy@softway.sw.oz.au ph:+61 2 698 2322-x122 fax:+61 2 699 9174
Many a wonderful picnic has been spoiled by Blubberknife.
Technical Details
Message-ID: <jeremy.703155879@chao>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!metro!cluster!swift!jeremy

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!metro!cluster!swift!jeremy
From: jeremy@sw.oz.au (Jeremy Fitzhardinge)
Newsgroups: gnu.gcc.help
Subject: Is there a way of preventing automatic __main creation?
Keywords: gcc startup main c
Message-ID: <jeremy.703155879@chao>
Date: 14 Apr 92 09:04:39 GMT
Sender: news@softway.sw.oz.au (Usenet)
Organization: Softway Pty Ltd
Lines: 10