This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Mon, 2008-09-15 at 14:39 -0700, Jim Martin wrote:
> I need to build a x86->MPC8541 (e500) cross toolchain, and I'd
> like
> to do it with crosstool. A request to Dan got a very quick reply
> pointing me at a posting from roughly a year ago
> (http://sourceware.org/ml/crossgcc/2007-05/msg00004.html
> ), and a suggestion to ping the list for greater wisdom. My
> interpretation of that thread was to apply the patch referenced in
> the
> initial posting to the crosstool 0.43 release, but to change the
> target from powerpc-8540-linux-gnu to powerpc-linux-gnuspe and to
> use
> gcc-4.0.x rather than something newer. Is that still the prevailing
> wisdom? Any other suggestions? Also, would glibc-2.3.6 and gcc-4.0.2
> seem a reasonable combination if I were trying to build a 2.6.24
> kernel for the MPC8541?
I've recently built an e500v2 toolchain (targeting the 8548 and 8572)
using the following combination:
* crosstool-ng (svn trunk)
* eglibc 2.6
* gcc 4.3.1
* binutils 2.18
I wouldn't expect an e500 toolchain to be as tricky since it doesn't
have the funky double-precision floating point unit that the e500v2 core
has. I recommend using eglibc instead of glibc since it comes with some
of the required e500 patches out of the box. Also, gcc 4.3.1 finally
merged a lot of the e500 code that sat in external patches for a long
time prior. Very few external patches should be required using these
versions.
Some tips for e500:
Target CFLAGS: -mspe=yes -mabi=spe -Wa,-me500
Binutils extra config: --enable-spe=yes --enable-e500 --with-e500
--
Nate Case <ncase@xes-inc.com>
--
For unsubscribe information see http://sourceware.org/lists.html#faq
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |