#37342: Work on eCos eabi toolchain -------------------------+-------------------------------- Reporter: billy@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by billy@…): I'm going to need some help here. While I can build gcc using the approach recommended at http://www.codeconfidence.com/technote-0003.shtml I first have to install a newlib version using the attached Portfile.newlib, then manually copy the ecos headers to /opt/local/arm-eabi/sys-include, then build using the attached Portfile.no-newlib. So here is exactly what I do: cd ~/ports/cross/arm-eabi-gcc cp Portfile.newlib Portfile cd ../.. portindex sudo port -d install arm-eabi-gcc (and wait several hours) cd ~/ports/cross/arm-eabi-gcc cp Portfile.no-newlib Portfile cd ../.. portindex sudo port -d install arm-eabi-gcc (and wait several hours) It builds clean but doesn't activate the last build because it thinks it is already activated. I've read the MacPorts Guide multiple times and can't see a path forward even though I can probably get to something to work for me personally. I suspect if I knew enough about building gcc I could put the includes somewhere and configure it to look for them there. Note that if I use Portfile.no-newlib on a completely clean system with no arm-eabi-gcc installed it fails. -- Ticket URL: <https://trac.macports.org/ticket/37342#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS