Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2006 17:48:04 -0800
From:      Peter Grehan <grehan@freebsd.org>
To:        Marcel Moolenaar <xcllnt@mac.com>
Cc:        ppc@FreeBSD.org
Subject:   Re: Adding new PowerPC platforms to the build
Message-ID:  <458744D4.3060007@freebsd.org>
In-Reply-To: <D50A4BB7-68CA-4953-8956-7CE4B30EEA83@mac.com>
References:  <DE8E70B1-9E3F-41E8-8502-AA374BFB150C@mac.com>	<45873A21.8020304@freebsd.org> <D50A4BB7-68CA-4953-8956-7CE4B30EEA83@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> There's at least 1 gotcha: I think the ABI for embedded space is
> different from server space (Book III-E vs Book III-S). Think
> floating-point. MI code that is intended to run on a Book III-S
> ISA processor should use hardware FP. MI code that is intended
> to run on a Book III-E ISA processor cannot.

  Sure.

> For example, the following seems quite user-friendly and intuitive:
>     make release TARGET_ARCH=powerpc TARGET=server
> or
>     make release TARGET_ARCH=powerpc TARGET=embedded
> 
> and it does solve the biggest problem we're facing. Would this be
> so bad?

  Perhaps a better distinction is a default value of 'server', and an 
override of TARGET=softfp since there are a large class of embedded PPC 
cpus that can do floating point.

> Also, I don't want to assume that whatever we do should be done in
> the same way as pc98 and sun4u has been done. I think they have set
> a bad example.

  Agreed 100%.

later,

Peter.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?458744D4.3060007>