Mail Archives: djgpp/1997/10/19/11:40:47
On 15 Oct 1997, sumathi muthukkumar wrote:
> I've DJGPP cross compiler (gcc) for m68k processor (which Im using to
> generate asm code for MC68306 proc (100% code compatible with m68k). So
> far so good. Problem is whenever I try to use divide, multiply, and mod
> operations in my .c code, gcc gives me an assembly code without the
> asm code for above operations (i.e there R only bsr instructions to
> following subroutines :
> uldiv
> adddf3
> divdf3
> fixunsdfsi
> floatsidf
> negdf2
> subdf2
These are from libgcc.a. I'd guess that you need to get hold of
libgcc.a for m68k, either from the cross-compiler kit, or by building
GCC on a m68k and copying libgcc.a that it builds.
Note that the above is pure theory, I didn't actaully try to do this,
and neither do I use the cross-compiler kit.
- Raw text -