Douglas Anderson <[EMAIL PROTECTED]> wrote:
> You could probably do it with quite a bit of work (recompiling gcc). I've
> never actually done it, but once I ran across the following in
> "m68kpalmos.h", which is part of the gcc source code:
>
> /* -l makes the assembler generate .w branches only */
> #undef ASM_SPEC
> #define ASM_SPEC "-mno-68881 -m68000 -l "
>
> Dunno if there is a better way to do it. Note that the choice of 16-bit
> jumps vs. 32-bit jumps can be an assembler option (like in this case), not
> a GCC option, so you need to look there...
That comment from the gcc source should more correctly read "-l makes
the assembler generate .w branches only, not .b"
The MC68000 and other CPUs and MPUs that have the 68000 core just don't
do 32-bit branching.
--
Roger Chaplin
<[EMAIL PROTECTED]>