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

Re: [MiNT] binutils 2.16.1



On Tue, 2005-09-13 at 21:04 +0200, Philipp Donzé wrote:
> Hi Mark,
> 
> As I read on mintlist you're working at porting the binutils 2.16.1.
> Can you tell me how well it works for you? How did you progress?
> 
> I'm using (=trying) to get binutils 2.16.1 and gcc 3.3.6 working as a  
> cross-compiler on my PowerMac (using Patrice Mandins patches). Today,  
> after some nasty assembly bugs, I finally succeeded in compiling gcc  
> without errors. After that I did some smaller tests: compile simple  
> main() function with and without gemlib. (=this implies I compiled  
> gemlib.)
> When I tried to compile "cflib" the process fails at linking-phase of  
> the demo application:

First of all, which are you using?  You must be using release 3 from the
package staging.

> > /usr/local/cross-tools/lib/gcc-lib/m68k-atari-mint/3.3.6/libgcc.a 
> > (_floatex.o):../../gcc-3.3.6/gcc/config/m68k/lb1sf68.asm:218:  
> > relocation truncated to fit: 16 against `*ABS*'
> > /usr/local/cross-tools/lib/gcc-lib/m68k-atari-mint/3.3.6/libgcc.a 
> > (_floatex.o):../../gcc-3.3.6/gcc/config/m68k/lb1sf68.asm:218:  
> > relocation truncated to fit: 16 against `*ABS*'
> > /usr/local/cross-tools/lib/gcc-lib/m68k-atari-mint/3.3.6/libgcc.a 
> > (_floatex.o):../../gcc-3.3.6/gcc/config/m68k/lb1sf68.asm:218:  
> > relocation truncated to fit: 16 against `*ABS*'
> 

This may not necessarily indicate a problem with binutils.  Try to use
gcc 2.95.3 compiler too.  I just built and all is well.  It looks like
32 bit and 16bit libs getting mixed together and confused.  Check that
out?

HTH
Mark