In all of the uclibc ebuilds (all in the current portage) I find the
following lines:

        if [[ $(tc-is-softfloat) != "yes" ]] ; then
                sed -i -e '/^HAS_FPU=y$/d' .config
                echo 'HAS_FPU=n' >> .config
        fi

According to the documentation of tc-is-softfloat the return is:
#  - only: the target is always softfloat (never had fpu)
#  - yes:  the target should support softfloat
#  - no:   the target should support hardfloat

So, if the target should support hardfloat it forces the FPU off?  I may
be just tired, but that seems backwards to me.

I have an i586 target, so it has an FPU.  If I comment out those lines
above in the ebuild uclibc compiles fine and runs fine.  If I leave it
in I get an error when it tries to compile that the softfloat routines
are not found.

Am I confused?  Am I doing something else wrong and this is just a symptom?

Thanks in advance for the help!

Scott  =)

-- 
Electrical Engineering/Web Development
Hunt Utilities Group LLC                     http://www.hugllc.com
Pine River, MN                               (218) 587-5001
Hopkins, MN                                  (952) 935-2418

-- 
gentoo-embedded@gentoo.org mailing list

Reply via email to