RE: Minimal gcc installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On
Behalf Of Vijaya Kishore Idimadakala
Sent: Monday, August 15, 2005 11:31 AM
To: gcc-help@xxxxxxxxxxx
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 
 




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux