public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Do you need an existing compiler to install gcc?
@ 1999-12-22 15:00 adezoysa
  1999-12-22 15:40 ` Timothy J. Bogart
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: adezoysa @ 1999-12-22 15:00 UTC (permalink / raw)
  To: help-gcc

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Do you need an existing compiler to install gcc?
  1999-12-22 15:00 Do you need an existing compiler to install gcc? adezoysa
@ 1999-12-22 15:40 ` Timothy J. Bogart
  1999-12-31 22:24   ` Timothy J. Bogart
  1999-12-24  7:01 ` Maurice Fox
  1999-12-31 22:24 ` adezoysa
  2 siblings, 1 reply; 6+ messages in thread
From: Timothy J. Bogart @ 1999-12-22 15:40 UTC (permalink / raw)
  To: help-gcc

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Do you need an existing compiler to install gcc?
  1999-12-22 15:00 Do you need an existing compiler to install gcc? adezoysa
  1999-12-22 15:40 ` Timothy J. Bogart
@ 1999-12-24  7:01 ` Maurice Fox
  1999-12-31 22:24   ` Maurice Fox
  1999-12-31 22:24 ` adezoysa
  2 siblings, 1 reply; 6+ messages in thread
From: Maurice Fox @ 1999-12-24  7:01 UTC (permalink / raw)
  To: help-gcc

On Wed, 22 Dec 1999 22:48:00, 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.
Bull's site provides gcc in SMIT-installable form for AIX.  That's the
way to go.  Why bother with building it?

Maurice

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Do you need an existing compiler to install gcc?
  1999-12-24  7:01 ` Maurice Fox
@ 1999-12-31 22:24   ` Maurice Fox
  0 siblings, 0 replies; 6+ messages in thread
From: Maurice Fox @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

On Wed, 22 Dec 1999 22:48:00, 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.
Bull's site provides gcc in SMIT-installable form for AIX.  That's the
way to go.  Why bother with building it?

Maurice

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Do you need an existing compiler to install gcc?
  1999-12-22 15:00 Do you need an existing compiler to install gcc? adezoysa
  1999-12-22 15:40 ` Timothy J. Bogart
  1999-12-24  7:01 ` Maurice Fox
@ 1999-12-31 22:24 ` adezoysa
  2 siblings, 0 replies; 6+ messages in thread
From: adezoysa @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Do you need an existing compiler to install gcc?
  1999-12-22 15:40 ` Timothy J. Bogart
@ 1999-12-31 22:24   ` Timothy J. Bogart
  0 siblings, 0 replies; 6+ messages in thread
From: Timothy J. Bogart @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-12-31 22:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-22 15:00 Do you need an existing compiler to install gcc? adezoysa
1999-12-22 15:40 ` Timothy J. Bogart
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

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).