🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51379

what is ___main on sparc/sun?

#51379
From: Marty Leisner x71348
Date: Wed, 26 May 1993 15:23
49 lines
1420 bytes
What is  going on here?  I have gcc 2.3.3 on sparc/sun,
that I want to use for an embedded sparc board...

main()
{
}
 
gcc2_compiled.:
text
        .align 4
        .global _main
        .proc   04
_main:
        !#PROLOGUE# 0
        save %sp,-136,%sp
        !#PROLOGUE# 1
        call ___main,0
        nop
        ret
        restore
foo()
{
}
 
 
gcc2_compiled.:
text
        .align 4
        .global _foo
        .proc   04
_foo:
        !#PROLOGUE# 0
        save %sp,-112,%sp
        !#PROLOGUE# 1
L1:
        ret
        restore

How do I make the special main stuff
go away?





--
Marty Leisner	leisner@eso.mc.xerox.com   leisner.henr801c@xerox.com
"People cannot be managed.  Inventories can be managed, but people must be led" 
 -- H. Ross Perot
Technical Details
Message-ID: <1993May26.152314.24305@spectrum.xerox.com>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!darwin.sura.net!udel!rochester!rocksanne!leisner

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,1f75599710862e63,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-05-26 17:26:06 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!darwin.sura.net!udel!rochester!rocksanne!leisner
From: leisner@wrc.xerox.com (Marty Leisner x71348 )
Subject: what is ___main on sparc/sun?
Message-ID: <1993May26.152314.24305@spectrum.xerox.com>
Sender: news@spectrum.xerox.com
Reply-To: leisner@eso.mc.xerox.com
Organization: Xerox
X-Newsreader: TIN [version 1.1 PL9]
Date: Wed, 26 May 1993 15:23:14 GMT
Lines: 50