From mint-bounce@lists.fishpool.fi Thu Jan 28 02:30:31 2010 Message-ID: From: "Jo Even Skarstein" To: References: <4B5C752A.5050901@freesbee.fr> <4B5CC233.6060107@free.fr> <752526d21001250028t6ac4768bu776fcfd86b0c3567@mail.gmail.com> <4B5D6E15.2020105@freesbee.fr> <4B609721.8010502@online.no> <4B60ADBF.1020805@online.no> <4B60C012.6010703@abbuc.de> <451FA899-1EC4-4F88-8CD8-59233F3508E8@gmx.ch> In-Reply-To: <451FA899-1EC4-4F88-8CD8-59233F3508E8@gmx.ch> Subject: Re: [MiNT] GCC 4.4.3 Date: Thu, 28 Jan 2010 08:29:05 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8089.726 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726 X-EsetScannerBuild: 6479 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: joska@online.no Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: -------------------------------------------------- From: "Philipp Donzé" Sent: Thursday, January 28, 2010 12:09 AM To: Subject: Re: [MiNT] GCC 4.4.3 >> And, last question: Could you explain how to make those symlinks and >> what that workaround does in the end? > > For me the problem appeared when linking the 68000 Kernel (during a make > all in the freemint directory): > -L../libkern -lkern000 -lgcc16 > /opt/cross-mint/lib/gcc/m68k-atari-mint/4.4.3/../../../../m68k-atari- > mint/bin/ld: cannot find -lgcc16 Same here. The mshort-libs used to have the "16"-prefix, but not anymore. Instead they are located in a directory called "mshort". I don't know why the linker doesn't find them, but I guess the answer can be found in the FreeMiNT makefiles. I didn't have much time to look into this yesterday. > I fixed it using the following commands (which create a symlink for > libgcc.a to libgcc16.a): > cd /opt/cross-mint/lib/gcc/m68k-atari-mint/4.4.3 > ln -s mshort/libgcc.a libgcc16.a Ditto. Now the linker finds the libgcc16 it was looking for. Jo Even __________ Information from ESET NOD32 Antivirus, version of virus signature database 4812 (20100128) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com