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

Re: [MiNT] Kernel compiling error



On 09/06/2011 15:39, Miro Kropáček wrote:
>  
> 
>     "ifeq ($(kernel),my1)
>     MINT = mint_fpu.prg
>     CPU  = 020-60
>     KERNELDEFS = -DM68030
>     endif"
> 
>     My last working compile is from 2011-05-30, but after that date this
>     option is not qorking anymore, i get a make error at this stage:
> 
> 1. Give us the command line
> 2. My guess would be the error is '020-60' + M68030 combination, as
> '020-60' includes 040/060 CPUs and pmove is 020/030 instruction (which
> get used just because M68030 is set). If it had worked before, it was a
> bug in gnu assembler.
> 
> -- 
> MiKRO / Mystic Bytes
> http://mikro.atari.org

1. if i understand correctly your request, the command line before the
error (sorry i'm not a developer, so forgive my incompetence :) ) is:
m68k-atari-mint-gcc -I../.. -D__KERNEL__ -DLANG_ENGLISH -DVERBOSE_BOOT
-DWITH_SINGLE_TASK_SUPPORT -DCRYPTO_CODE -DSOFT_UNITABLE -DBUILTIN_SHELL
-DM68030 -m68020-60 -Werror -mshort -O2 -pipe -fomit-frame-pointer -Wall
-Wmissing-prototypes -Wshadow -Wpointer-arith -Waggregate-return -c
../mmu030.S -o mmu030.o

2. it has always worked, i've started to compile mint from cvs since
1-17 with this option active, using gcc 4.4.3 or 4.5.1 without any
error. I don't know if the "problem" is related to the patch from
Vincent dated 2011-06-03, but i can live also with that option turned off :)
Thank you, Roberto