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

Re: [MiNT] -lgcc16 kludge



On Mon, 2010-04-05 at 00:18 +0200, Vincent Rivière wrote:
> Hello.
> 
> Alan, could you commit this tiny patch to FreeMiNT, please ?
> 
> It removes the -lgcc16 kludge committed by OZK. It was a workaround because 
> I had not included all the mshort libraries with some versions of GCC 4.x. I 
> have fixed that problem several months ago, and most of the GCC binaries 
> have been updated.
> 
> Furthermore, that kludge worked only on OZK's machine because he had created 
> a nonstandard symlink.

Actually Vincent, I'm just checking my gcc 4.4.2 and if I move the
libgcc.a from /usr/lib/gcc/m68k-atari-mint/4.4.2/ and try this....

m68k-atari-mint-gcc -mshort -o main main.c

where main.c is the simplest you can get, I get this....

/usr/libexec/gcc/m68k-atari-mint/ld: cannot find -lgcc
collect2: ld returned 1 exit status

I wouldn't have expected that as libgcc.a still exists in the mshort
directory below /usr/lib/gcc/m68k-atari-mint/4.4.2/mshort/

???

Alan.