From: Zack Weinberg <zack@codesourcery.com>
To: Mike Laman <mlaman@cox.net>
Cc: GCC <gcc@gcc.gnu.org>
Subject: Re: __main
Date: Mon, 02 Sep 2002 19:37:00 -0000 [thread overview]
Message-ID: <20020903023722.GA5246@codesourcery.com> (raw)
In-Reply-To: <001e01c24fe4$f4b6e580$5aa80844@fed1.sdca.home.com>
On Thu, Aug 29, 2002 at 10:20:29PM -0700, Mike Laman wrote:
> When running a C cross compiler where one does not want a call
> to "__main()" to be emitted, how can one turn it off?
You need to get HAS_INIT_SECTION defined. The appropriate way to
do that is to use ELF for your object format, and write your target
configuration headers accordingly.
zw
prev parent reply other threads:[~2002-09-03 2:37 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-29 11:25 __main Robert Spanton
2002-08-29 11:40 ` __main Fergus Henderson
2002-08-29 22:18 ` __main Mike Laman
2002-09-01 9:04 ` __main Fergus Henderson
2002-09-01 13:14 ` __main Mike Laman
2002-09-01 13:22 ` __main Mike Laman
2002-09-01 13:40 ` __main Robert Spanton
2002-09-02 4:26 ` __main Lars Brinkhoff
2002-09-02 5:29 ` __main Ian Dall
2002-09-02 19:08 ` __main Mike Laman
2002-09-01 22:56 ` __main Fergus Henderson
2002-09-02 3:36 ` __main Mike Laman
2002-09-02 5:51 ` __main Fergus Henderson
2002-09-02 19:06 ` __main Mike Laman
2002-09-03 14:03 ` __main Fergus Henderson
2002-09-03 14:21 ` __main Neil Booth
2002-09-04 4:03 ` __main Richard Earnshaw
2002-09-02 19:37 ` Zack Weinberg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020903023722.GA5246@codesourcery.com \
--to=zack@codesourcery.com \
--cc=gcc@gcc.gnu.org \
--cc=mlaman@cox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).