public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Meissner, Michael" <michael.meissner@amd.com>
To: "Vijaya Kishore Idimadakala" <kishoreivijay@yahoo.com>,
	gcc-help@gcc.gnu.org
Subject: RE: Minimal gcc installation
Date: Mon, 15 Aug 2005 16:17:00 -0000	[thread overview]
Message-ID: <6096959DEF5C9447A6BF80BDC7EB9EDC2E9F87@SBOSEXMB1.amd.com> (raw)

In general, it helps to know the details of the board, libraries, etc.
so we can better answer your question.

I suspect the main problem is printf is just too big for 32K,
particularly the general printf that has support for floating point and
long long outputs.  This in turn will drag in all of the support for
floating point and long long arithmetic.

If you are using libraries based on newlib, you can use a slimmer
version 'iprintf' which doesn't have the floating point support builtin
(I don't recall if it has long long however).

For just testing, it is better to use the system call that printf uses
(such as write in UNIX and newlib based systems), and don't use printf
at all.

-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of Vijaya Kishore Idimadakala
Sent: Monday, August 15, 2005 11:31 AM
To: gcc-help@gcc.gnu.org
Subject: Minimal gcc installation

Dear Sir/Madam,

I am trying to compile a Hello World program on a
board which has very small RAM (about 32MB). Hence I
want a minimal version of gcc on the board. 

I would like to know if there is a minimal version of
gcc that I can install on my board to get my programs
running and if there is, any useful links to resources
are greatly appreciated.

Any suggestions and help is greatly greatly
appreciated. 

Thanks in advance and have a wonderful day, 
Vijay 





		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


             reply	other threads:[~2005-08-15 16:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-15 16:17 Meissner, Michael [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-08-15 15:30 Vijaya Kishore Idimadakala
2005-08-15 16:24 ` random

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=6096959DEF5C9447A6BF80BDC7EB9EDC2E9F87@SBOSEXMB1.amd.com \
    --to=michael.meissner@amd.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=kishoreivijay@yahoo.com \
    /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).