public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: tjb@starbase.neosoft.com (Timothy J. Bogart)
To: help-gcc@gnu.org
Subject: Re: Do you need an existing compiler to install gcc?
Date: Wed, 22 Dec 1999 15:40:00 -0000	[thread overview]
Message-ID: <33106DF648E7AE93.D1A40303C488412F.4DDA83F433F0FF30@lp.airnews.net> (raw)
In-Reply-To: <83rkev$bh1$1@nnrp1.deja.com>

If you are going to configure and build the gcc compiler, you
need a working compiler to do this.  Presuming you are using
the default ksh, you will want to make sure the working compiler
is in your path.  Doing an

export CC=<path-to-working-compiler>/compiler

will help.  This working compiler can be a download of gcc
from BULL, for example, but you must have _some_ compiler if
you are to build code.  You will need root permissions to
put the BULL compiler, or anybody else who has built gcc
to go in the default place.../usr/local/bin.  Hence the above
becomes

export CC=/usr/local/bin/gcc

if you did this.


Plus you migh double check the instructions...from memory, I 
seem to recall that they recommend you not do the configure/build
in the 'home' of what you undar, but create another directory and
do it from there...

Hope that helps some.

In article < 83rkev$bh1$1@nnrp1.deja.com >,  <adezoysa@my-deja.com> wrote:
>I have a rs6000 with 4.3.1.0, downloaded gcc-2.95.2, unzipped and
>expanded it.  When i go to configure it, it tells me :
>
># /us3/temp/gcc-2.95.2/configure
>Configuring for a powerpc-ibm-aix4.3.1.0 host.
>Created "Makefile" in /us3/temp/source using "mh-frag"
>/us3/temp/gcc-2.95.2/configure[1462]: /us3/temp/gcc-2.95.2/gcc: 0403-
>006 Execut.
>*** The command '/us3/temp/gcc-2.95.2/gcc -o conftest -O2   conftest.c'
>failed.
>*** You must set the environment variable CC to a working compiler.
>
>Whats going on?  Do I need an existing CC compiler prior to this?
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.


WARNING: multiple messages have this Message-ID
From: tjb@starbase.neosoft.com (Timothy J. Bogart)
To: help-gcc@gnu.org
Subject: Re: Do you need an existing compiler to install gcc?
Date: Fri, 31 Dec 1999 22:24:00 -0000	[thread overview]
Message-ID: <33106DF648E7AE93.D1A40303C488412F.4DDA83F433F0FF30@lp.airnews.net> (raw)
Message-ID: <19991231222400.GDzUVPcPxgUVfkCyPumSAQ8U4iK6s-WE8sQgvg852hs@z> (raw)
In-Reply-To: <83rkev$bh1$1@nnrp1.deja.com>

If you are going to configure and build the gcc compiler, you
need a working compiler to do this.  Presuming you are using
the default ksh, you will want to make sure the working compiler
is in your path.  Doing an

export CC=<path-to-working-compiler>/compiler

will help.  This working compiler can be a download of gcc
from BULL, for example, but you must have _some_ compiler if
you are to build code.  You will need root permissions to
put the BULL compiler, or anybody else who has built gcc
to go in the default place.../usr/local/bin.  Hence the above
becomes

export CC=/usr/local/bin/gcc

if you did this.


Plus you migh double check the instructions...from memory, I 
seem to recall that they recommend you not do the configure/build
in the 'home' of what you undar, but create another directory and
do it from there...

Hope that helps some.

In article < 83rkev$bh1$1@nnrp1.deja.com >,  <adezoysa@my-deja.com> wrote:
>I have a rs6000 with 4.3.1.0, downloaded gcc-2.95.2, unzipped and
>expanded it.  When i go to configure it, it tells me :
>
># /us3/temp/gcc-2.95.2/configure
>Configuring for a powerpc-ibm-aix4.3.1.0 host.
>Created "Makefile" in /us3/temp/source using "mh-frag"
>/us3/temp/gcc-2.95.2/configure[1462]: /us3/temp/gcc-2.95.2/gcc: 0403-
>006 Execut.
>*** The command '/us3/temp/gcc-2.95.2/gcc -o conftest -O2   conftest.c'
>failed.
>*** You must set the environment variable CC to a working compiler.
>
>Whats going on?  Do I need an existing CC compiler prior to this?
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.


  reply	other threads:[~1999-12-22 15:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-22 15:00 adezoysa
1999-12-22 15:40 ` Timothy J. Bogart [this message]
1999-12-31 22:24   ` Timothy J. Bogart
1999-12-24  7:01 ` Maurice Fox
1999-12-31 22:24   ` Maurice Fox
1999-12-31 22:24 ` adezoysa

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=33106DF648E7AE93.D1A40303C488412F.4DDA83F433F0FF30@lp.airnews.net \
    --to=tjb@starbase.neosoft.com \
    --cc=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).