public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Me Myself and I <stargate7thsymbol@live.co.uk>
Cc: gcc-help@gcc.gnu.org, java@gcc.gnu.org,
	mingw-users@lists.sourceforge.net
Subject: Re: Compiling and building vital libraries.
Date: Sun, 26 Feb 2012 12:19:00 -0000	[thread overview]
Message-ID: <CAH6eHdQXxNZs+4nEzCg3QcNQbDcbU+90YCO2eTe9sTMdXvdd2A@mail.gmail.com> (raw)
In-Reply-To: <BAY147-W19E4BE244FBDE8D1B4243D0680@phx.gbl>

On 26 February 2012 04:54, Me Myself and I wrote:
>
> I have installed mingw32 on 64 bit Windows 7 using
>
> mingw-get-inst-20110530.exe
>
> I have been referred to http://sourceforge.net/projects/gmpmingw/
> for a mingw32 binary version of GMP.
>
> I have the following in my etc/profile file:
>
> export PATH="/home/User/nano":$PATH;
> export PATH="/home/User/":$PATH;
> export PATH="/home/User/gmp-5.0.2":$PATH;
>
> I need to get the following working:
>
> GMP
> MPFR
> MPC
>
> I am finding now that
>
> "C preprocessor /lib/cpp  is failing a sanity check." when I attempt to compile MPFR, with the aforementioned binary GMP.

No, you were clearly told by Sisyphus /lib/cpp is NOT the problem,
that file doesn't exist.

The first attempt to use the C preprocessor is this:

configure:9213: checking how to run the C preprocessor
configure:9244: gcc -std=gnu99 -E  conftest.c
configure:9244: $? = 1

That should work.  Because it doesn't work, /lib/cpp is tried instead,
but the first test should work.

Your GCC installation is broken.

> Are there any mingw32 people who know what I need to do to my /lib/cpp to get it behaving better?
>
> The advice I have so far doesn't help, and I have also installed the default C++ which comes with the exe installer I have.

Have you *only* installed the C++ part?  Have you also installed the C compiler?

> I'm about to try the cpp from source, but apart from that, is there anyone out there with advice to solve the problem?

You can't build cpp from source, it's part of GCC.

Your GCC installation is broken.

You should be able to run "gcc -E foo.c" on a file called foo.c and
have it succeed - if that doesn't work, fix it.

  parent reply	other threads:[~2012-02-26 12:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BAY147-W288FC78B943FB52BD48297D06B0@phx.gbl>
     [not found] ` <FF3C311ED8CA494BBA16BD88D8756C0C@desktop2>
     [not found]   ` <BAY147-W363C3B3100E8DF315C01CCD06B0@phx.gbl>
     [not found]     ` <418BF7963F914614B0CC31F6DF41CB6C@desktop2>
     [not found]       ` <83mx87s98f.fsf@gnu.org>
     [not found]         ` <94A2B27145A446C7ADFE1650F3742448@desktop2>
     [not found]           ` <83d393s68h.fsf@gnu.org>
     [not found]             ` <BAY147-W349EE06DED2CF3439A646FD06B0@phx.gbl>
2012-02-25  7:58               ` Compiling and building GMP library Me Myself and I
     [not found]               ` <83boons4ac.fsf@gnu.org>
     [not found]                 ` <BAY147-W5D5811BD1DDAE781EAFC3CC6B0@phx.gbl>
     [not found]                   ` <BAY147-W648ED9BABC8089D6B069D1D0680@phx.gbl>
2012-02-26  3:41                     ` [Mingw-users] Compiling and building vital libraries Sisyphus
2012-02-26  4:55                     ` Me Myself and I
2012-02-26  5:23                       ` FW: " Me Myself and I
2012-02-26 12:19                       ` Jonathan Wakely [this message]
     [not found]                     ` <BAY147-W5272C89F7640565FF4FB74CC680@phx.gbl>
     [not found]                       ` <BAY147-W867F1986291421088AE6ED0680@phx.gbl>
     [not found]                         ` <BAY147-W53ED28B35BCEEA8EED2E48CC680@phx.gbl>
2012-02-27  0:07                           ` Me Myself and I
2012-02-27  1:44                             ` Jonathan Wakely
2012-02-27  9:56                               ` Andrew Haley
     [not found]                                 ` <BAY147-W594F45667B67BA4B117FD0D0690@phx.gbl>
2012-02-29  0:03                                   ` FW: " Me Myself and I
2012-02-29  0:11                                     ` Jonathan Wakely
2012-02-29  0:58                                       ` Ian Lance Taylor

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=CAH6eHdQXxNZs+4nEzCg3QcNQbDcbU+90YCO2eTe9sTMdXvdd2A@mail.gmail.com \
    --to=jwakely.gcc@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=java@gcc.gnu.org \
    --cc=mingw-users@lists.sourceforge.net \
    --cc=stargate7thsymbol@live.co.uk \
    /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).