I have a question about the best approach to make a port of an arm-none-eabi toolchain.
I'm able to build this toolchain standalone in OpenBSD -current and it generates code which works OK. I used pretty much the same configure args as the arm-elf port, compiling the same targets, libgcc and newlib. All the other targets are disabled in this patch: http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/devel/arm-elf/gcc/patches/patch-Makefile_in?rev=1.3&content-type=text/plain However, I need the libstdc++-v3 target also. As seen in the link above, arm-elf port disable too in this patch, but it's needed for software I'm willing port (libmaple). The point is: I need to build gcc so I can build newlib, then come back and compile libstdc++-v3 target from gcc. Are there any precedent on ports to work as an example? While here, I see that arm-elf-newlib is marked as broken for amd64, which is building fine. I sent a patch some months ago to update to newlib 2.1.0, but after some reflection, I don't think it's a good idea to have an old gcc with such a new newlib. Any thoughts? Thank you. -- db