On AIX, a device driver or kernel extension can not use floating point.  I did
not see a way via the configure options to get libstdc++ built with a
-msoft-float option.  But there is an option to remove libraries from the list.
 So I changed t-aix52 to create versions of libstdc++ to use soft float by
default with the thought that if anyone does not want them, they can delete
them when the configure gcc.

My suggested patch to t-aix52 is attached.

While getting this change to compile and link, I encountered which appears to
me to be more of a bug than an enhancement.  ppc64-fp.c is needed will not
compile without modifications.  I have attached my path to it as well.


-- 
           Summary: Add soft float to list of libraries
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pedz at easesoftware dot net
 GCC build triplet: powerpc-ibm-aix5.3.0.0
  GCC host triplet: powerpc-ibm-aix5.3.0.0
GCC target triplet: powerpc-ibm-aix5.3.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25825

Reply via email to