Subject: Re: Question about GCC
To: None <port-amiga@netbsd.org>
From: Bo Najdrovsky <bn@okcforum.org>
List: port-amiga
Date: 10/21/1998 17:55:47
% If you insist to use -m68040, you still would need the additional
% -Wa,-m68030 to make gas understand the inline assembler in (e.g.)

This is indeed what I did, and my new 040 optimized kernel is buzzing 
along just fine.  I figured that it should be safe to use the -Wa option
since you did it for the 060 support.  ;-)

% machdep.c, amiga_start.c for cache manipulation, _which is incompatible
% between cpus!_ and thus handled by 68020/30 assembler opcodes and .word
% instructions for th 68040 and 68060. Read the code if you want to
% understand the details.

I'll check it out.  One thing that I find interesting is that supplying
the assembler with the -m68030 flag doesn't cause it to choke if the compiler
feeds it 040 specific instructions.

-bn