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

Re: [MiNT] Kernel compiling error




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
I was right (just tested it) -- look at the "-m68020-60" switch, this is no-no for 030-only instructions. But as Vincent has suggested, there's no point of having 020-60 optimizations, in theory, it's even worse for your 68030 than using plain -m68030.
 
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
And are you sure the the binutils were the same, too? Because the error comes from gnu as, not the gcc. In any way, this setting for 030 kernel is illegal.

--
MiKRO / Mystic Bytes
http://mikro.atari.org