[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] Compiling with gcc
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