Here I propose the build of libstdc++-v3 as part of devel/arm-none-eabi. Some ports do build it (e.g. devel/avr32), while others don't (e.g. devel/arm-elf).
The reason for this is to be able to build binaries for boards like Leaflabs Maple Mini (and many others), based on ARM Cortex-M3/M4, using libs such as libmaple[1] and more recently their fork rambutan[2]. Maple Mini attaches as ugen, and it's actually a DFU (device firmware update) device. The comms/dfu-util port can upload firmware just fine to these boards. There was an effort to keep devel/arm-none-eabi the same, while trying very hard to follow what was done in devel/avr32. gcc-linaro was split in two. The first is gcc-linaro-bootstrap, used to build newlib, and then gcc-linaro itself, with libstdc++-v3. The major change was removing a patch to Makefile.in, which was used to select the targets, and then use ALL_TARGET and INSTALL_TARGET instead. I'm sending the entire port for review as a .tar.gz. I can't figure out how to add new files to CVS and send them inline in the mailing list as a diff. Ideas? Suggestions? Thank you. [1] http://leaflabs.com/docs/libmaple.html [2] http://rambutan.cc/ -- db
arm-none-eabi.tar.gz
Description: application/tar-gz
