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

Re: [MiNT] GCC 4.4.3



--------------------------------------------------
From: "Philipp Donzé" <philippdonze@gmx.ch>
Sent: Thursday, January 28, 2010 12:09 AM
To: <mint@lists.fishpool.fi>
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