All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Kelly <bilbo@waitrose.com>
To: linux-newbie@vger.kernel.org
Subject: Re: C Compiler
Date: Sat, 27 Dec 2003 11:10:42 +0000	[thread overview]
Message-ID: <20031227111042.48ffc559.bilbo@waitrose.com> (raw)
In-Reply-To: <200312270820.hBR8Ked01366@skyinet.net>

On Sat, 27 Dec 2003 16:20:40 +0800
Peter wrote:
> 
> Trying to install a program I get:
> 
> checking for C compiler default output... configure: error: C compiler cannot 
> create executables
> 
> when doing ./configure in RH9.
> 
> How do I correct this error?
 
I can't be of much help here since I stopped using RedHat at version 7.3. However it sounds like 
your C compiler may be broken.
What do you get from the following commands:

rpm -qa | grep gcc
gcc --version

Can you write a hello world program and compile it by hand?

If gcc is installed and working, perhaps the configure script is not finding it. 
Try ./configure --help. You can usually pass ./configure an option to force it to use your gcc. 

Hth.

John 
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  parent reply	other threads:[~2003-12-27 11:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-27  8:20 C Compiler Peter
2003-12-27 10:18 ` Amin
2003-12-27 11:10 ` John Kelly [this message]
2003-12-27 17:46 ` caszonyi
2003-12-28  4:21 ` joy
2003-12-29 12:51   ` setgid: Operation not permitted chuck gelm net
2003-12-29 16:26     ` Ray Olszewski
2003-12-29 18:41       ` chuck gelm net
2003-12-30 18:26         ` Jos Lemmerling
2003-12-30  0:40       ` chuck gelm net
2003-12-29 20:44     ` caszonyi
  -- strict thread matches above, loose matches on Subject: below --
2002-05-19 18:18 C compiler Ken Martwick
2002-05-19 22:33 ` Alan Cox
2002-05-20 10:22 ` Harry Kalogirou

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=20031227111042.48ffc559.bilbo@waitrose.com \
    --to=bilbo@waitrose.com \
    --cc=linux-newbie@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.