[MacPorts] #51397: Newlib nano support for arm-none-eabi-gcc toolchain
#51397: Newlib nano support for arm-none-eabi-gcc toolchain ------------------------+-------------------------------- Reporter: ekawahyu@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: ------------------------+-------------------------------- Hi, would it be possible to add newlib nano support for arm-none-eabi-gcc toolchain? Thank you. -- Ticket URL: <https://trac.macports.org/ticket/51397> MacPorts <https://www.macports.org/> Ports system for OS X
#51397: Newlib nano support for arm-none-eabi-gcc toolchain -------------------------+-------------------------------- Reporter: ekawahyu@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by denis@…): Hello,[[BR]] I have the same request.[[BR]] "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] I try to do it, it is not very clean but it seems to work.[[BR]] 1) Update arm-none-eabi-gcc Portfile to get last newlib version and allow libgloss library to be compiled (as variant).[[BR]] 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]] 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). This seems to works. -- Ticket URL: <https://trac.macports.org/ticket/51397#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51397: Newlib nano support for arm-none-eabi-gcc toolchain --------------------------------+------------------------------- Reporter: ekawahyu@… | Owner: stuartwesterman@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: arm-none-eabi-gcc | --------------------------------+------------------------------- Changes (by mf2k@…): * owner: macports-tickets@… => stuartwesterman@… * version: 2.3.4 => * type: request => enhancement * port: => arm-none-eabi-gcc Comment: In the future, please fill in the Port field and Cc the port maintainers ({{{port info --maintainers arm-none-eabi-gcc}}}), if any. -- Ticket URL: <https://trac.macports.org/ticket/51397#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts