MPFR lib path missing from compile command(s) during configuration?
rkiesling
rkiesling@earthlink.net
Tue Jun 10 10:56:00 GMT 2008
Brian Dessent:
> Eric Lemings wrote:
>
> > Ah yes. For some reason, I was thinking the
> > --with-mpfr=<mpfr-install-dir>
> > option would take care of that.
>
> But that is not something that gcc has knowledge of -- it varies from
> system to system and is part of the policy that the system administrator
> controls. For example, maybe the sysadmin adds directories to
> ld.so.conf, maybe they require all client apps to be linked with an
> -rpath, maybe they require wrapper scripts that set LD_LIBRARY_PATH,
> maybe they require that mpfr/gmp be built static, etc. gcc cannot
> assume knowledge of how the system is administered.
>
> And besides this is a requirement of just one kind of system, namely
> ELF-style shared libraries; but gcc runs on dozens and dozens of various
> plaforms and shared libraries work differently on each one, so on some
> of them setting LD_LIBRARY_PATH is unnecessary or meaningless. In
> summary, this is site-specific configuration information that must be
> handled by the person that installed the library, not the user of the
> library (gcc.)
AFAIK, GCC installation recognizes the Linux Standards Base with no
problems - http://www.linuxfoundation.org/. So a normal GCC-mpfr
installation should work fine without requiring further options. The
only other case I've encountered is an installation when the user doesn't
have root privileges, and then you can set --prefix=$HOME.
--
Ctalk Home Page: http://www.ctalklang.org
More information about the Gcc-help
mailing list