On Fri, 2009-07-31 at 23:16 +0200, gmail wrote:
> hello all,
> 
> i am trying to compile a very minimal uClinux image,  for coldfire 
> M5307. At a certain point, i get this error:
> 
>     CC      libbb/last_char_is.o
>   CC      libbb/lineedit.o
>   CC      libbb/llist.o
>   CC      libbb/login.o
>   CC      libbb/make_directory.o
>   CC      libbb/makedev.o
>   CC      libbb/match_fstype.o
>   CC      libbb/md5.o
> {standard input}: Assembler messages:
> {standard input}:74: Error: invalid instruction for this architecture; 
> needs 68000 or higher -- statement `ror.w #8,%d3' ignored
> 
> Every help is appreciated,
> 
> thanks in advance,
> angelo
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev

Hi Angelo,

I don't know if this will help, but I had similar drama when I first
tried to cross compile the latest kernel for my ARM target with buildroot.
Mind you, I got errors because the compile was falling back on x86.

It turned out that a couple of environment issues :
- ARCH   export it so you're compiling for your architecture
- CROSS_COMPILE   Just in case, set it to the proper toolchain prefix.
                  Eg. mine needed "arm-linux-".
(I was using code sourcery, but then changed to buildroot's generated 
GCC 4.3.2)

HTH !
-- 
Best regards,
Kris




_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to