From mint-bounce@lists.fishpool.fi Wed Oct 19 18:09:18 2005 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Date: Wed, 19 Oct 2005 09:06:48 -0700 From: Nicholas Steele Subject: [MiNT] Compiling with gcc To: MiNT Message-id: <43566F18.9000405@shaw.ca> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513) X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: ndn2002@shaw.ca Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=3.7 tagged_above=-50.5 required=7.0 tests=BAYES_00, FAKE_HELO_SHAW_CA, FROM_ENDS_IN_NUMS, RCVD_IN_SORBS X-Spam-Level: *** Hi, I have just started using gcc and I can't get it to compile even a "Hello world" program; it gives a memory error when linking. My setup is: TT with 8MB ram (4 ST/ 4 TT) freemint 1.15.12 gcc 2.95.3 When I run the free command it reports just over 5MB of free ram available. I start gcc with: gcc -v -Wall -Wa,-m68030 -o foo foo.c and the last output is: as -m68000 -m68030 -o /tmp/ccQ8hzP6.o /tmp/ccExCNoA.s /usr/lib/gcc-lib/m68k-atari-mint/2.95.3/collect2 -o foo /usr/lib/crt0.o -L/usr/lib/gcc-lib/m68k-atari-mint/2.95.3 /tmp/ccQ8hzP6.o -lgcc -lc -lgcc /usr/lib/libc.a: could not read symbols: Memory exhausted collect2: ld returned 1 exit status Any help is appreciated. Nicholas Steele