public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bruce Hoglund <bhoglund@mac.com>
To: gcc-help@gcc.gnu.org
Subject: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
Date: Tue, 06 Sep 2011 21:22:00 -0000	[thread overview]
Message-ID: <76A9B64F-3A3E-451E-BC23-EB4580B9875F@mac.com> (raw)

I'm trying to build gcc 4.6.1 on my iMac (Core 2 Duo) on Mac OS X 10.7.1. I used MacPorts (port) to install the MPC, GMP, and MPFR library files in /usr/local/lib.

I configure by:
sudo ~/tmp/gcc-4.6.1/configure --enable-languages=c,fortran,java,objc --enable-threads --with-cpu-64=x86-64 --with-gmp-lib=/usr/local/lib/ --with-mpfr-lib=/usr/local/lib/ --with-mpc-lib=/usr/local/lib/

But when I try to make, it terminates with this error:

…
checking size of long... 0
checking for long long... yes
checking size of long long... configure: error: in `/Users/bhoglund/tmp/gcc46/gcc':
configure: error: cannot compute sizeof (long long)
See `config.log' for more details.
make[2]: *** [configure-stage1-gcc] Error 77
make[2]: Leaving directory `/Users/bhoglund/tmp/gcc46'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/Users/bhoglund/tmp/gcc46'
make: *** [all] Error 2


Thanks for any help.


Bruce

             reply	other threads:[~2011-09-06 21:22 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-06 21:22 Bruce Hoglund [this message]
2011-09-06 21:52 ` Jonathan Wakely
2011-09-07  1:48   ` Bruce Hoglund
2011-09-07  5:06     ` Ian Lance Taylor
2011-09-07  8:28       ` Jonathan Wakely
2011-09-07 13:53         ` Bruce Hoglund
2011-09-07 14:02           ` Jonathan Wakely
2011-09-07 15:26             ` Bruce Hoglund
2011-09-07 15:42               ` Jonathan Wakely
2011-09-07 15:50                 ` Jonathan Wakely
2011-09-07 13:49       ` Bruce Hoglund
2011-09-07 14:07         ` Jonathan Wakely
2011-09-07 15:35           ` Bruce Hoglund
2011-09-07 16:32             ` Ian Lance Taylor
2011-09-07 22:11               ` Bruce Hoglund
2011-09-09 16:18                 ` Jonathan Wakely
2011-09-09 20:40                   ` Bruce Hoglund
2011-09-07 15:48         ` Ian Lance Taylor
2011-09-07  8:30     ` Jonathan Wakely
     [not found]       ` <37D86901-9803-45C7-B143-CC9A7D3E8814@mac.com>
2011-09-07 15:45         ` Jonathan Wakely

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=76A9B64F-3A3E-451E-BC23-EB4580B9875F@mac.com \
    --to=bhoglund@mac.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).