Subject: Re: sun3 - msoft-float
To: schaecsn <schaecsn@gmx.de>
From: David Brownlee <abs@netbsd.org>
List: port-sun3
Date: 08/23/2001 08:35:00
On Wed, 22 Aug 2001, schaecsn wrote:

> Hi,
>
> I started compiling my own custom kernel on a sun 3/50 - 4MB 1 week ago.
> already finished 70 out of 306 object files ;-) Actually, while watching
> all the output I realized the -msoft-float option. that means AFAIK the
> kernel gets compiled without support for the math coprocessor.

	The NetBSD kernel does not use floating point - see
		http://www.netbsd.org/kernel/#why_msoft_float

> furthermore, the kernel gets compiled with -Dm68k and -Dmc68000 and not
> -Dmc68020. is this intended?
>
> Finally:
> man gcc tells me:
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - -
> -mc68020
>         Generate  output for a 68020 (rather than a 68000).
>         This is the default when the compiler is configured
>         for 68020-based systems.
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - -
> (similar for 68000, 68030, 68040 ...).
>
> so, how is gcc for sun3 configured?

	For 68020 and above - try 'touch /tmp/test.c ; cc -v /tmp/test.c'

-- 
		David/absolute		-- www.netbsd.org: No hype required --