This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: m68k Toolchain issues


Hi Martin,

After a bit of prodding, I was able to figure out what was going on.  It seems the standard crosstool 0.43 release uses an older binutils that doesn't like the .cpu.  I replaced all the .cpu's with .chip's and it compiled just fine.  Not sure if there's a way to upgrade the binutils in crosstool easily or not. . .

Thanks,
J Silverman


--- On Thu, 8/14/08, Khem Raj <raj.khem@gmail.com> wrote:

> From: Khem Raj <raj.khem@gmail.com>
> Subject: Re: m68k Toolchain issues
> To: "Martin Guy" <martinwguy@yahoo.it>
> Cc: "J Silverman" <g1powermac@yahoo.com>, "Duane Ellis" <duane@duaneellis.com>, crossgcc@sourceware.org
> Date: Thursday, August 14, 2008, 1:05 PM
> On Thu, Aug 14, 2008 at 4:21 AM, Martin Guy
> <martinwguy@yahoo.it> wrote:
> > On 8/14/08, J Silverman <g1powermac@yahoo.com>
> wrote:
> >
> >> first.S: Assembler messages:
> >>  first.S:7: Error: unknown pseudo-op: `.cpu'
> >>
> >>  That line in first.S is this:
> >>
> >>        .cpu 68000
> 
> which version of binutils is it. It works on latest from
> trunk.
> 
> >
> > The gas manual says that .cpu only exists in gas for
> ARM, at ;east according to
> > http://sourceware.org/binutils/docs-2.17/as/Index.html
> 
> .cpu directive exist for m68k too. see
> http://sourceware.org/binutils/docs-2.17/as/M68K_002dDirectives.html#M68K_002dDirectives
> 
> 
> Thx
> -Khem


      

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]