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

Re: [MiNT] Compiling with gcc: ld eats all ram



Le Wed, 19 Oct 2005 12:12:32 -0400
Mark Duckworth <mduckworth@atari-source.com> a écrit:

> On Wed, 2005-10-19 at 09:06 -0700, Nicholas Steele wrote:
> > 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

> Since this particular issue is a linker memory issue, there's one way
> you might be able to get around it.  

Yep, I saw this too. For example, linking the SDL library (libsdl.a
250Ko file) requires up to 10MB for ld.

-- 
Patrice Mandin
WWW: http://pmandin.atari.org/
Programmeur Linux, Atari
Spécialité: Développement, jeux