Error while building gcc for toolset for RTEMS
Steven Grunza
sgrunza at ctdi.com
Thu Feb 7 15:19:01 UTC 2013
> -----Original Message-----
> From: rtems-users-bounces at rtems.org [mailto:rtems-users-
> bounces at rtems.org] On Behalf Of Gedare Bloom
> Sent: Thursday, February 07, 2013 9:52 AM
> To: manish jain
> Cc: RTEMS
> Subject: Re: Error while building gcc for toolset for RTEMS
>
> Aside from the (relatively useful) advice that you may want to try
> the prepackaged solutions, if you continue with building your own
> tools you may want to check that mpc/gmp/mpfr are being found. If
> you built/installed them separately from GCC then you need to add
> the install point to your library path, e.g. export
> LD_LIBRARY_PATH=${PREFIX}/lib:${LD_LIBRARY_PATH} for PREFIX equal
> to where you installed those libraries. If you are using a single-
> tree build where you link the source for those libraries, then gcc
> should find them itself. The error you sent is indicative of a
> missing library.
>
If you continue on the path of building your own tools, the command
"ldconfig -p" is your friend. This command will show you all the
libraries known and cached. If you installed a library from source and
don't see it listed, you may need to run "ldconfig" as root to update
the cache. I've mostly seen this out-of-date ld.so cache problem on
Fedora/CentOS systems but it can't hurt to check.
More information about the users
mailing list