delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/19/11:40:47

Date: Sun, 19 Oct 1997 17:33:56 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: sumathi muthukkumar <s369kr AT mik DOT uky DOT edu>
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: <Pine.SUN.3.91.971019173338.27221g-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019