[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Compiling FreeMiNT
On Sun, 2010-01-10 at 18:19 +0100, Odd Skancke wrote:
> 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.
I found the same problem too.
> If you know what I did wrong, I would be more than happy being told
> what :)
Me too.
Alan.