🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42086

gcc 2.7.2 cross compile to embedded m68k. Where is mulxf3, etc?

#42086
From: D. Erway
Date: Mon, 22 Jan 1996 00:00
36 lines
1683 bytes
We have been using gcc for years to cross compile from unix hosts to embedded
68020 & fpu systems.  This is easy, because no math runtimes are needed.

Now, we need to produce a system running on 68332, no fpu.

I pulled the latest gcc, and tried building libgcc1.a with the perform
macros.  Built libgcc2.a with inhibit_libc.  Everything installed fine, and
passed the libgcc1-test.  However, when I compile something, and link it with
the libgcc.a thus produced, there are all kinds of undefined functions.  All
of them seem to be of the extended variety:

undefined reference to `__extenddfxf2'
undefined reference to `__fixxfsi'
undefined reference to `__floatsixf'
undefined reference to `__gexf2'
undefined reference to `__ltxf2'
undefined reference to `__mulxf3'
undefined reference to `__negxf2'
undefined reference to `__nexf2'
undefined reference to `__subxf3'
undefined reference to `__truncxfdf2'
make: *** [lib/port_bios.o] Error 1

In fact, sun3-nm shows the absence of all these functions in the libgcc.a.

So, how do I fill these in?  Anyone have the 68k math runtime in assembler or
something?  Cygnus?

Thanks,
Don

	Don Erway			derway@ndc.com
	NDC Systems			818-939-3847
	5413 N. Irwindale Ave		Fax:939-3870
	Irwindale, CA, 91706
Technical Details
Message-ID: <DERWAY.96Jan22151655@alumnae.ndc.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,a8b1a936d6eb1192,start
X-Google-Attributes: gid11318c,public
From: derway@ndc.com (D. Erway)
Subject: gcc 2.7.2 cross compile to embedded m68k.  Where is mulxf3, etc?
Date: 1996/01/22
Message-ID: <DERWAY.96Jan22151655@alumnae.ndc.com>
X-Deja-AN: 136148798
organization: NDC Systems - Monrovia, CA
newsgroups: gnu.gcc.help