From mint-bounce@lists.fishpool.fi  Wed Oct 19 18:34:27 2005
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
X-ME-UUID: 20051019163017783.BF4621C0014B@mwinf0803.wanadoo.fr
Date: Wed, 19 Oct 2005 18:30:17 +0200
From: Patrice Mandin <mandin.patrice@wanadoo.fr>
To: Mint list <mint@fishpool.com>
Subject: Re: [MiNT] Compiling with gcc: ld eats all ram
Message-Id: <20051019183017.0d614e89.mandin.patrice@wanadoo.fr>
In-Reply-To: <1129738352.24801.6.camel@mduckworth.phillypark.net>
References: <43566F18.9000405@shaw.ca>
	<1129738352.24801.6.camel@mduckworth.phillypark.net>
Organization: Chez moi
X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: mandin.patrice@wanadoo.fr
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
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=2.3 tagged_above=-50.5 required=7.0 tests=AWL,
 BAYES_00, RCVD_IN_SORBS
X-Spam-Level: **
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by wh58-902.st.uni-magdeburg.de id j9JGYRIO001168

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


