public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Philip Boulton" <philipb@ssimicro.com>
To: <gcc-help@gcc.gnu.org>
Subject: Failing to build gcc 4.7.1
Date: Thu, 26 Jul 2012 19:43:00 -0000	[thread overview]
Message-ID: <D58CB971BBD241F386BD5C6A29BBF706@ssipboulton> (raw)

Working on FreeBSD8.1, in a jailed environment.  I have an ancient
(gcc3.4.6) version of gcc that works as my C compiler.  gmake version 3.8.1

I do the following, as root:
> tar zxf gcc-4.7.1.tar.gz 
> cd gcc-4.7.1
> ls -atlG contrib/downl*
> ./contrib/download_prerequisites    <-- seems to work
> ./contrib/download_ecj              <-- seems to work
>  cd ..
>  mkdir obj_gcc471
>  cd obj_gcc471
>  ../gcc-4.7.1/configure     <-- runs successfully.
>  gmake

During the make process, I get the following error:

checking for math/rint... yes
checking for long double... yes
checking format of `long double' floating point... IEEE extended, little
endian
checking for gmp.h... no
configure: error: gmp.h can't be found, or is unusable.
gmake[2]: *** [configure-stage1-mpfr] Error 1
gmake[2]: Leaving directory `/usr/src/local/obj_gcc471'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/usr/src/local/obj_gcc471'

N.B., gmp.h is *not* present anywhere in gcc-4.7.1 after the
download_prerequisites.  Should it be?

Any help is appreciated,

Thanks.

PB

             reply	other threads:[~2012-07-26 19:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-26 19:43 Philip Boulton [this message]
2012-07-26 20:02 ` Tim Prince
2012-07-27  7:12 ` Georg-Johann Lay
2012-07-31 22:14   ` Philip Boulton
2012-07-31 21:02 Philip Boulton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D58CB971BBD241F386BD5C6A29BBF706@ssipboulton \
    --to=philipb@ssimicro.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).