[PATCH] Option to build bare-metal ARM cross-compiler for arm-none-eabi target without libunwind

Fredrik Hederstierna fredrik.hederstierna@securitas-direct.com
Mon Jun 4 08:15:00 GMT 2012


You are absolutely right, I forgot to change this as well.
Thanks!

And I really really do hope that this patch will go into GCC 4.8 trunk.

Since arm-elf is marked 'obsolete' in GCC 4.7,
all old bare-metal arm-elf-users will need
to migrate to the the new arm-eabi-toolchain in GCC 4.8.0.

I fear it will cause a lot of people trouble, if we can't build a real pure bare-metal toolchain on arm-eabi target.

I have not seen many comments on the patch from the community yet.
Hopefully some arm-eabi maintainer will get his/her eyes on it eventually.

Thanks! and Best Regards
Fredrik

-----Larry Doolittle <ldoolitt@recycle.lbl.gov> wrote: -----
To: gcc-patches@gcc.gnu.org
From: Larry Doolittle <ldoolitt@recycle.lbl.gov>
Date: 06/03/2012 06:35PM
Cc: Fredrik Hederstierna <fredrik.hederstierna@securitas-direct.com>
Subject: [PATCH] Option to build bare-metal ARM cross-compiler for arm-none-eabi target without libunwind

This is an update to Fredrik Hederstierna's mail and patch from
12 Apr 2012.  I think he missed one place where -fexceptions needs
to be changed to -fno-exceptions.

With the attached patch, two of us (a friend and I, one on Linux and
one on Mac) can build Rockbox with gcc-4.7.0.  I'll admit I haven't
checked the repository for changes in this area, this patch is based
on stock released gcc-4.7.0.

I have no opinion on Sebastian Huber's idea of making functionality
of this kind implicit with target.

   - Larry


[attachment "libgcc-4.7.0-baremetal.patch" removed by Fredrik Hederstierna/INT/SE/DIR/SECURITAS]



More information about the Gcc-patches mailing list