* problem installing gcc
[not found] <20040112104100.13695.qmail@web41415.mail.yahoo.com>
@ 2004-01-12 11:26 ` Andrew Haley
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Haley @ 2004-01-12 11:26 UTC (permalink / raw)
To: Mohammed Abdul Sami; +Cc: gcc-help
Mohammed Abdul Sami writes:
> i had downloaded gcc-3.3.2.tar.gz file to install on
> my redhat linux machnine, after unzipping and
> untarring i typed ./configure command to configure it
> there came the error
> cc not found.
This really should have been addressed to gcc-help. Please address
all future queries there.
You need to install the gcc package from your Linux CD-ROM or from red
Hat Network. For RH9, that's
ftp://ftp.redhat.com/pub/redhat/linux/9/en/os/i386/RedHat/RPMS/gcc-3.2.2-5.i386.rpm
Andrew.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: problem installing gcc
2000-08-31 9:16 Lawrence
@ 2000-09-01 10:39 ` Alexandre Oliva
0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Oliva @ 2000-09-01 10:39 UTC (permalink / raw)
To: Lawrence; +Cc: gcc-help
On Aug 31, 2000, "Lawrence" <capediem10@yahoo.com.sg> wrote:
> Pls advise how to set CC in my environment.
Use setenv or export, depending on your shell.
For a start, do you have a working compiler? If not, you'll need a
pre-compiled GCC, otherwise you won't be able to compile anything at
all, not even GCC itself.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: problem installing gcc
@ 2000-09-01 5:02 Lawrence
0 siblings, 0 replies; 5+ messages in thread
From: Lawrence @ 2000-09-01 5:02 UTC (permalink / raw)
To: listname, gcc-help
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1286 bytes --]
Dear Sir I have a problem installing gcc... here is what i get when
i ./configure Created "Makefile" in /gcc-2.95.2 ./configure: cc:
command not found *** The command 'cc -o conftest -g  conftest.c'
failed. *** You must set the environment variable CC to a working
compiler. >From your installation help file: "..when configuring a
native system, either "cc" or "gcc" must be in your path or you must set CC in
your environment before running configure. Otherwise the configuration scripts
may fail. " Pls advise how to set CC in my environment. Many
thanks in advance Rgds Lawrence
Dear Sir
Â
I have a problem installing gcc... here is what i
get when i ./configure
Â
Created "Makefile" in /gcc-2.95.2 ./configure:
cc: command not found *** The command 'cc -o conftest -g Â
conftest.c' failed. *** You must set the environment variable CC to a
working compiler.
Â
From your installation help file:
"..when configuring a native system, either "cc" or "gcc" must be in your
path or you must set CC in your environment before running configure.
Otherwise the configuration scripts may fail. "
Â
Pls advise how to set CC in my
environment.
Â
Many thanks in advance
Â
Rgds
Lawrence
^ permalink raw reply [flat|nested] 5+ messages in thread
* problem installing gcc
@ 2000-08-31 9:16 Lawrence
2000-09-01 10:39 ` Alexandre Oliva
0 siblings, 1 reply; 5+ messages in thread
From: Lawrence @ 2000-08-31 9:16 UTC (permalink / raw)
To: gcc-help
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 626 bytes --]
Dear Sir
Â
I have a problem installing gcc... here is what i
get when i ./configure
Â
Created "Makefile" in /gcc-2.95.2 ./configure:
cc: command not found *** The command 'cc -o conftest -g Â
conftest.c' failed. *** You must set the environment variable CC to a working
compiler.
Â
From your installation help file:
"..when configuring a native system, either "cc" or "gcc" must be in your
path or you must set CC in your environment before running configure. Otherwise
the configuration scripts may fail. "
Â
Pls advise how to set CC in my
environment.
Â
Many thanks in advance
Â
Rgds
Lawrence
^ permalink raw reply [flat|nested] 5+ messages in thread
* Problem installing gcc
@ 1999-10-01 0:00 Olivier
0 siblings, 0 replies; 5+ messages in thread
From: Olivier @ 1999-10-01 0:00 UTC (permalink / raw)
To: help-gcc
Hi,
I'm building a Linux system from sources,
I would like to build and install the gcc compiler tree, for example,
on the /mnt/usr directory, then I could do 'chroot /mnt' and to be able
to use gcc as usual. (of course everything which is needed to run a
program is already installed in the /mnt tree)
As it is explained in the README/INSTALL files I tryed :
./configure --prefix=/mnt/usr
[...]
make
make install
The problem seems to be that the gcc program (which calls the differents
parts of the compiler) uses some default paths from the ./configure
result
that are not valid after the 'chroot' command.
Does anyone has a solution to that problem and can give me a way to make
the gcc compiler work fine ?
I hope I have been clear enough, ask me for precisions if not :-)
Olivier BOURGEAT
bourgeat@cybercable.fr
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-01-12 11:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20040112104100.13695.qmail@web41415.mail.yahoo.com>
2004-01-12 11:26 ` problem installing gcc Andrew Haley
2000-09-01 5:02 Lawrence
-- strict thread matches above, loose matches on Subject: below --
2000-08-31 9:16 Lawrence
2000-09-01 10:39 ` Alexandre Oliva
1999-10-01 0:00 Problem " Olivier
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).