[CT-NG] [PATCH] Fix download of avr32 headers v2

Martin Guy martinwguy@gmail.com
Tue Jan 17 08:56:00 GMT 2012


[second attempt with signed-off-by: in the patch header and
a better config here]

  This patch fixes the broken avr32 target in crosstool-ng. Mostly
that had to do with replacing the dead custom tarball at
dev.doredevelopments.dk (which entire site has dissapeared!) and
downloading the avr32-headers from Atmel directly, and adding .zip
extractor logic to handle it.

To configure it for avr32 after launching ct-ng menuconfig in an empty
directory:

       Paths and misc options ->
               Shell to use as CONFIG_SHELL = sh
       Target options ->
               Target Architecture = avr32
       Toolchain options ->
               Tuple's alias = avr32
       Binary utilities ->
               binutils version = 2.18a
       C compiler
               gcc version = 4.2.2
       C-library
               newlib version = 1.17.0
               Enable IOs on long long = yes
               Enable IOs on floats and doubles = yes
               Disable the syscalls supplied with newlib = yes

CONFIG_SHELL is necessary to get round the "fragment: command not
found" bug when binutils-2.18 is configured using bash.

Cheers

   M
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crosstool-ng-fix-avr32-headers.patch
Type: text/x-patch
Size: 3281 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20120117/7d09093a/attachment.bin>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list