On Wed, Sep 19, 2012 at 9:35 AM, Feuerbacher, Alan <
[email protected]> wrote:
> William Harrington wrote:
>
> > Sometimes you can't build mpfr mpc and gmp within the gcc source tree
> > for some targets. We found that out in CLFS. That's we we don't build
> > gmp mpc and mpfr within the tree. Works okay for x86 and x86_64,
> > however, when you start building for other targets, it becomes hairy.
> > You may want to try to build gmp mpfr and mpc separately.
>
> I've been mostly quietly keeping up with this question on several lists:
> is it better to build those programs in the source tree or separately?
> There's a discussion somewhere (on a gcc list?) that comes down strongly on
> the side of building them in the source tree. It even asks why anyone would
> want to do it differently. Yet the programs contain instructions for
> tuning, which requires them to be built separately.
>
> During the 1 1/2 years I've been playing around with compiling gcc and all
> of the LFS programs, I've experimented with building separately many times.
> No problem building them, but gcc usually fails to find at least one of
> them.
>
> Now, I'm a real newbie when it comes to all this, but if anyone knows why
> gcc can't seem to find the programs, I'd sure like to know. I'm trying to
> understand all the ins and outs of everything covered by LFS and a lot more
> besides.
>
> Alan
>
I've already succeeded at building gmp, and mpc with in the gcc build
directory, I need to make mpfr, what do you suggest I do?
Is there a way to just build the following code block;
1. | int
2. | main ()
3. | {
4. | mpfr_t x; mpfr_init(x) ; mpfr_clear(x);
5. |
6. | ;
7. | return 0;
8. | }
and then re-run make?
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page