Hello! > On Sun, Aug 29, 2010 at 09:01:49AM +0200, FX wrote: > > GCC >= 4.5 is needed. I'll add a check to libquad's configure. > > > > FX > > > > Further testing on i386-*-freebsd runs into undefined symbols. > > libquad.so: undefined reference to `__getf2' > libquad.so: undefined reference to `__eqtf2' > libquad.so: undefined reference to `__addtf3' > libquad.so: undefined reference to `__floatsitf' > libquad.so: undefined reference to `__trunctfxf2' > libquad.so: undefined reference to `__divtf3' > libquad.so: undefined reference to `__letf2' > libquad.so: undefined reference to `__unordtf2' > libquad.so: undefined reference to `__fixtfdi' > libquad.so: undefined reference to `__fixtfsi' > libquad.so: undefined reference to `__lttf2' > libquad.so: undefined reference to `__netf2' > libquad.so: undefined reference to `__extendxftf2' > libquad.so: undefined reference to `__extenddftf2' > libquad.so: undefined reference to `__multf3' > libquad.so: undefined reference to `__gttf2' > libquad.so: undefined reference to `__subtf3' > libgfortran.so: undefined reference to `__floatunditf' > libquad.so: undefined reference to `__trunctfdf2' > > > AFAICT, these should come from libgcc_s.so.1, but for whatever > reason these are missing. I have been unable to find how > to induce gcc to build the required files.
Try to build gcc with attached patch... Uros.
Index: config.gcc =================================================================== --- config.gcc (revision 163630) +++ config.gcc (working copy) @@ -3485,6 +3485,9 @@ i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*) tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp" ;; + i[34567]86-*-freebsd* | x86_64-*-freebsd*) + tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp" + ;; ia64*-*-linux*) tmake_file="${tmake_file} ia64/t-fprules-softfp soft-fp/t-softfp" ;;