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] | |
Brooks Moses wrote:Is it possible that ld is picking up a different libmpfr.a file than the one you're looking at?
Only a copy of mpfr library for the target is installed. If I put all the files in the same directory, for example,
gcc ....... libmpfr.a libgmp.a
There is no library path in the command. "ld" couldnot find the symbol, either, and shows the same error "undefined reference". I checked the index table of libmpfr.a, the symbol is in the library. Object can be extracted.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |