GCC 4.1.1 m68k-rtems generating invalid code for -m5307 proce ssor ?

Kirspel, Kevin kevin.kirspel at optimedical.com
Tue Jun 26 13:04:05 UTC 2007


Thanks. I think this will get me going.  I just didn't know where in the gcc
toolchain to tell it to generate the m5307 libraries.

-----Original Message-----
From: Mick Davis [mailto:mickd at goanna.iinet.net.au] 
Sent: Tuesday, June 26, 2007 8:54 AM
To: Kirspel, Kevin
Cc: 'rtems-users at rtems.org'
Subject: Re: GCC 4.1.1 m68k-rtems generating invalid code for -m5307 proce
ssor ?

In a previous email, you listed only the rtems-supplied patch 
gcc-core-4.1.1-rtems4.7-20070102.diff for the gcc source; have you made 
other changes?

As far as I remember, GCC doesn't build the 5307 libraries unless you 
modify some options for your target.  I made the attached patch for 
building our 5307 gcc.  Without it, perhaps you're getting 68020 code, 
despite the lack of errors?


Kirspel, Kevin wrote:
> I am using the RTEMS toolchains.  CodeSourcery was responsible for adding
> new coldfire processors to the gcc-4.3 build which should be coming out
this
> year.  I posted the same question on there message board to see what they
> thought. 
> 
> The issue is that when I compile the rtems toolchains for m68k, they do
not
> generate the libraries for the m5307 processor. I am currently trying to
see
> how I can get these libraries generated.  
> 
> -----Original Message-----
> From: Ralf Corsepius [mailto:ralf.corsepius at rtems.org] 
> Sent: Tuesday, June 26, 2007 1:21 AM
> To: Kirspel, Kevin
> Cc: 'Chris Johns'; Ian Caddy; 'rtems-users at rtems.org'
> Subject: RE: GCC 4.1.1 m68k-rtems generating invalid code for -m5307 proce
> ssor ?
> 
> On Mon, 2007-06-25 at 13:50 -0400, Kirspel, Kevin wrote:
>> Here is a response from the CodeSourcery guys about this issue.  
> Are you saying you are using CodeSourcery sources?
> 
> The RTEMS toolchain sources are the FSF versions.
> 
> Ralf
> 
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
> 



More information about the users mailing list