On Tue, May 22, 2012 at 3:45 AM, rbmj <r...@verizon.net> wrote: > Hi everyone, > > This patch adds FPU support for powerpc on platforms that do not have glibc. > It is basically the same code as glibc has. The motivation for this was > that right now there is no fpu-target.h that works for powerpc-*-vxworks. > > Again, 90% of this code comes directly from glibc. But on vxworks targets > there is no glibc. > > I also patched the configure.host script in order to add this in. > > Any opinions?
Since AFAICT nobody has responded... I suppose this is something you need, or you would probably not be working on it. I wouldn't have thought of VxWorks as an obvious target platform for a Fortran compiler. :-) The copying of the code from glibc (LGPL code) to libgfortran (GPL+exception) is something that you probably need permission for from the FSF. For the VxWorks specific bits, you could poke the only listed VxWorks maintainer in MAINTAINERS (hi Nathan!). For the configure.host bits, + powerpc) Not powerpc64? Or at least "powerpc|ppc"? IIUC this test is overridden for powerpc-linux by a glibc test following your new code, right? What happens for e.g. powerpc-aix? Shouldn't your test also be conditional on have_feenableexcept? Ciao! Steven