From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30910 invoked by alias); 15 Aug 2005 16:17:17 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 30713 invoked by uid 22791); 15 Aug 2005 16:17:02 -0000 Received: from amdext4.amd.com (HELO amdext4.amd.com) (163.181.251.6) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 15 Aug 2005 16:17:02 +0000 Received: from SAUSGW01.amd.com (sausgw01.amd.com [163.181.250.21]) by amdext4.amd.com (8.12.11/8.12.11/AMD) with ESMTP id j7FGGbvL024607; Mon, 15 Aug 2005 11:17:02 -0500 Received: from 163.181.250.1 by SAUSGW02.amd.com with ESMTP (AMD SMTP Relay (Email Firewall v6.1.0)); Mon, 15 Aug 2005 11:16:49 -0500 X-Server-Uuid: 5FC0E2DF-CD44-48CD-883A-0ED95B391E89 Received: from sausexbh1.amd.com (SAUSEXBH1.amd.com [163.181.22.101]) by amdint2.amd.com (8.12.8/8.12.8/AMD) with ESMTP id j7FGGiU4005089; Mon, 15 Aug 2005 11:16:49 -0500 (CDT) Received: from sausexmb1.amd.com ([163.181.3.156]) by sausexbh1.amd.com with Microsoft SMTPSVC(6.0.3790.0); Mon, 15 Aug 2005 09:16:47 -0700 Received: from SBOSEXMB1.amd.com ([165.204.61.40]) by sausexmb1.amd.com with Microsoft SMTPSVC(6.0.3790.0); Mon, 15 Aug 2005 11:16:40 -0500 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: Minimal gcc installation Date: Mon, 15 Aug 2005 16:17:00 -0000 Message-ID: <6096959DEF5C9447A6BF80BDC7EB9EDC2E9F87@SBOSEXMB1.amd.com> From: "Meissner, Michael" To: "Vijaya Kishore Idimadakala" , gcc-help@gcc.gnu.org X-WSS-ID: 6F1E607B2CC9914916-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-SW-Source: 2005-08/txt/msg00134.txt.bz2 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.=20 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.=20 Thanks in advance and have a wonderful day,=20 Vijay=20 =09=09 ____________________________________________________ Start your day with Yahoo! - make it your home page=20 http://www.yahoo.com/r/hs=20 =20