Date: Sun, 19 Oct 1997 17:33:56 +0200 (IST) From: Eli Zaretskii To: sumathi muthukkumar cc: djgpp AT delorie DOT com Subject: Re: M68K CrossCompiler (The case of missing subroutines) In-Reply-To: <622vqd$dp$1@service3.uky.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.