From mint-bounce@lists.fishpool.fi Sun Jan 10 12:21:54 2010 Date: Sun, 10 Jan 2010 18:19:25 +0100 From: Odd Skancke Subject: Re: [MiNT] Compiling FreeMiNT In-reply-to: <4B4A089D.3010907@freesbee.fr> To: mint@lists.fishpool.fi Message-id: <4B4A0C1D.3040203@atari.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-15; format=flowed X-PMX-Version: 5.5.3.366731, Antispam-Engine: 2.7.0.366912, Antispam-Data: 2010.1.10.170637 X-Antivirus: avast! (VPS 100109-1, 09.01.2010), Outbound message X-Antivirus-Status: Clean References: <4B477978.2000505@abbuc.de> <4B487ABA.50709@abbuc.de> <4B492354.3000208@abbuc.de> <4B4A089D.3010907@freesbee.fr> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; nb-NO; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b2pre Thunderbird/3.0 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: ozk@atari.org Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by mail.sparemint.org id o0AHLsUL001533 Hello Vincent, Den 10.01.2010 18:04, skrev Vincent Rivière: > Le 10/01/2010 01:46, Stefan Niestegge wrote: >> -L../libkern -lkern000 -lgcc16 >> /d/usr/local/bin/../lib/gcc/m68k-atari-mint/4.4.2/../../../../m68k-atari-mint/bin/ld: >> >> cannot find -lgcc16 > > I'm not accustomed with the FreeMiNT kernel. > But I don't know where that -lgcc16 comes from, I know no such thing in > gcc. > FreeMiNT gurus will answer. > > However, since -mshort is on the command line, -lgcc instead of that > wrong -lgcc16 should do what is expected. I don't know why the makefiles > are wrong. That is my fault. But I had to do that because I could not find out how to make gcc 4.4.2 use mshort libs when -mshort is present. Possibly I've done something wrong compiling your m68k port, but here gcc does not enter mshort/m68020-60 lib directories when linking. Therefore I had to make a symlink and have it link against gcc16. If you know what I did wrong, I would be more than happy being told what :) >