public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: gcc@gcc.gnu.org
Subject: gcc with no stack at all?
Date: Thu, 30 Mar 2000 17:11:00 -0000	[thread overview]
Message-ID: <38E3FB43.A7389718@mandrakesoft.com> (raw)

For low-level BIOS type code, some portions of early chipset init must
run without a stack.

Is it possible to write gcc-compilable C code which doesn't require a
stack at all?

I don't see any '-fno-stack' option in gcc.info*, but I was wondering if
it could be done implicitly, for example '-fno-builtin' plus no local
vars plus an all-register calling convention.

Thanks for any insight.

	Jeff




-- 
Jeff Garzik              | Tact is the ability to tell a man 
Building 1024            | he has an open mind when he has a
MandrakeSoft, Inc.       | hole in his head.  (-random fortune)

             reply	other threads:[~2000-03-30 17:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-30 17:11 Jeff Garzik [this message]
2000-03-31  6:20 ` Erik Mouw
2000-03-30 19:05 Mike Stump

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=38E3FB43.A7389718@mandrakesoft.com \
    --to=jgarzik@mandrakesoft.com \
    --cc=gcc@gcc.gnu.org \
    /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).