Changes between Initial Version and Version 1 of Ticket #51397, comment 1


Ignore:
Timestamp:
Jul 17, 2016, 12:12:42 AM (8 years ago)
Author:
denis-fr (Denis)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51397, comment 1

    initial v1  
    33"newlib-nano is now integrated in the main newlib source tree. Building newlib-nano is now a matter of specifying the right configure option." according to this discussion: [https://answers.launchpad.net/gcc-arm-embedded/+question/244125]
    44
    5 I try to do it, it is not very clean but it seems to work.[[BR]]
    6 1) Update arm-none-eabi-gcc Portfile to get last newlib version and allow libgloss library to be compiled (as variant).[[BR]]
    7 2) Small change in group crossgcc-1.0.tcl (/opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/crossgcc-1.0.tcl) to make it reusable: change all gcc-${version} by gcc-${crossgcc.version}[[BR]]
    8 3) Create a arm-none-eabi-newlib-nano Portfile to add *_nano.a files. To do it I recompile a gcc+newlib with specific configure option + Os optimization. And them rename *.a files to *_nano.a files (others files are discard).
     5I try to do it, it is not very clean but it seems to work:
     61. Update arm-none-eabi-gcc Portfile to get last newlib version and allow libgloss library to be compiled (as variant).[[BR]]
     72. Small change in group crossgcc-1.0.tcl (/opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/crossgcc-1.0.tcl) to make it reusable: change all gcc-${version} by gcc-${crossgcc.version}[[BR]]
     83. Create a arm-none-eabi-newlib-nano Portfile to add *_nano.a files. To do it I recompile a gcc+newlib with specific configure option + -Os optimization. And them rename *.a files to *_nano.a files (others files are discard).
    99
    1010This seems to works.