This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Full float128, third iteration


> $ gfortran-4.6 -Wall test_qp.f90 -o test_qp
> /usr/local/gfortran/bin/../lib/gcc/i686-pc-cygwin/4.6.0/../../../libgfortran.a(write.o):(.text$write_float+0x1fc): undefined reference to `_libgfortran_dtoaq'
> /usr/local/gfortran/bin/../lib/gcc/i686-pc-cygwin/4.6.0/../../../libgfortran.a(read.o):(.text$__gfortrani_convert_real+0x95): undefined reference to `_libgfortran_strtopQ'
> collect2: ld returned 1 exit status
> 
> (I have also tried adding '-L/foo/lib -lquad' and '/foo/bin' to PATH)
> 
> What have I done of wrong?

Hard to tell. Do you have those symbols defined in the libquad shared lib? (You should be able to check using "nm".)
Also, why are you using a static library for libgfortran instead of shared library?

FX


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]