[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Compiling FreeMiNT
On Sun, 2010-01-10 at 18:04 +0100, Vincent Rivière wrote:
> 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.
If you don't build gcc with multilib, then -mshort will pick up the
wrong libgcc.a won't it ? I think that's what I found. It's worth
someone else seeing if that's the same for them.
Using libgcc16.a follows some of the other atari semantics for mshort
libraries and symlinking.