This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: Help installing gcc 4.4.2


Thanks, adding the mpfr and gmp to LD_LIBRARY_PATH solved the problem.

I do wonder what kind of effect the flag --with-mpfr has on the installation process. I thought this was used to specify where mpfr was installed.

Hung-Hsun

ung-Hsun Su <su@hcs.ufl.edu> writes:

It is tellling me that it cannot find libmpfr.so when compiling
conftest.c

You need to ensure that it can. If you have built MPFR yourself, I strongly recommend that you discard what you built and rebuild it using --disable-shared. Otherwise, you need to ensure that the dynamic linker can find libmpfr.so one way or another; one simple way would be to set the LD_LIBRARY_PATH environment variable to point to the right library. Or you may simply need to run ldconfig.

Are these tests critical for the installation?

Yes.


Ian


--

-----------------------------------------------------------------------------------------------------------
Sincerely,

Hung-Hsun Su

Ph.D. Student, UPC Group Leader, Research Assistant, Teaching Assistant
High-performance Computing and Simulation (HCS) Research Laboratory
Dept. of Electrical and Computer Engineering , University of Florida,
Gainesville, FL 32611-6200
Email: su@hcs.ufl.edu, hunghsun@ufl.edu
------------------------------------------------------------------------------------------------------------


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