This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Minimal gcc installation
- From: "Meissner, Michael" <michael dot meissner at amd dot com>
- To: "Vijaya Kishore Idimadakala" <kishoreivijay at yahoo dot com>, gcc-help at gcc dot gnu dot org
- Date: Mon, 15 Aug 2005 12:16:39 -0400
- Subject: RE: Minimal gcc installation
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