Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-25-2015, 01:49 PM   #1
LQ Newbie
Registered: Aug 2015
Posts: 7

Rep: Reputation: Disabled
Question How to build gmp and friends

I am trying to develop a cross compiler under Ubuntu 14.04 running on a pc. The target is a bare-metal powerpc board. When I try to build the bootstrap gcc, I am told I need mpfr; when I try to build mpfr, I find that I need gmp. How can I build gmp, when the target gcc isn't built yet? The same question would also apply to mpfr.
Old 08-25-2015, 02:13 PM   #2
Keith Hedger
Senior Member
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,096

Rep: Reputation: 834Reputation: 834Reputation: 834Reputation: 834Reputation: 834Reputation: 834Reputation: 834
Try the LFS books here:


crosscompile, gcc, gmp, mpfr

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Public warning: Windows 10 will share your Wi-Fi password with your friends' friends LXer Syndicated Linux News 0 07-01-2015 12:33 AM
LXer: How to build your own cloud for you and your friends on Debian Wheezy LXer Syndicated Linux News 0 01-12-2015 05:30 PM
Hi friends, I want to build a tool-chain first time. would you please help me bsmlinux14 Programming 2 08-25-2014 05:37 AM
trying to use gmp BadTaste Programming 1 08-04-2004 09:10 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration