* Need some help with GCC
@ 2001-11-20 16:21 Layne Meier
2001-11-20 16:21 ` Jeff Sturm
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Layne Meier @ 2001-11-20 16:21 UTC (permalink / raw)
To: gcc
I downloaded the precompiled GCC (version 2.95.2 and 2.95.3) from the
sunfreeware.com website.
Whenever I run a compile I get the following:
checking for gcc... (cached) cc
checking wheter the C compiler (cc -O ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
I could use some advice as I am under deadline for this server installation.
Hardware info:
Sun Ultra Enterprise 250
512 Mb RAM
Solaris 8 (patched)
Thank you,
Layne Meier
Atlanta Newspapers
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Need some help with GCC
2001-11-20 16:21 Need some help with GCC Layne Meier
@ 2001-11-20 16:21 ` Jeff Sturm
2001-11-28 6:17 ` Jeff Sturm
2001-11-20 16:21 ` Alan Lehotsky
2001-11-28 5:52 ` Layne Meier
2 siblings, 1 reply; 6+ messages in thread
From: Jeff Sturm @ 2001-11-20 16:21 UTC (permalink / raw)
To: Layne Meier; +Cc: gcc
On Wed, 28 Nov 2001, Layne Meier wrote:
> checking for gcc... (cached) cc
> checking wheter the C compiler (cc -O ) works... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.
Make sure configure is really finding gcc and not the bogus compiler in
/usr/ucb/cc. I suggest removing /usr/ucb from your PATH and/or removing
/usr/ucb/cc altogether; this has nothing to do with gcc itself.
Check any instructions that may have come with your gcc binary from
sunfreeware.com for the appropriate path to use (e.g. /usr/local/bin).
This mailing list (gcc@gcc.gnu.org) cannot provide support for binary
distributions.
Jeff
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Need some help with GCC
2001-11-20 16:21 ` Jeff Sturm
@ 2001-11-28 6:17 ` Jeff Sturm
0 siblings, 0 replies; 6+ messages in thread
From: Jeff Sturm @ 2001-11-28 6:17 UTC (permalink / raw)
To: Layne Meier; +Cc: gcc
On Wed, 28 Nov 2001, Layne Meier wrote:
> checking for gcc... (cached) cc
> checking wheter the C compiler (cc -O ) works... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.
Make sure configure is really finding gcc and not the bogus compiler in
/usr/ucb/cc. I suggest removing /usr/ucb from your PATH and/or removing
/usr/ucb/cc altogether; this has nothing to do with gcc itself.
Check any instructions that may have come with your gcc binary from
sunfreeware.com for the appropriate path to use (e.g. /usr/local/bin).
This mailing list (gcc@gcc.gnu.org) cannot provide support for binary
distributions.
Jeff
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Need some help with GCC
2001-11-20 16:21 Need some help with GCC Layne Meier
2001-11-20 16:21 ` Jeff Sturm
@ 2001-11-20 16:21 ` Alan Lehotsky
2001-11-28 6:16 ` Alan Lehotsky
2001-11-28 5:52 ` Layne Meier
2 siblings, 1 reply; 6+ messages in thread
From: Alan Lehotsky @ 2001-11-20 16:21 UTC (permalink / raw)
To: lmeier; +Cc: gcc
At 8:51 AM -0500 11/28/01, Layne Meier wrote:
>I downloaded the precompiled GCC (version 2.95.2 and 2.95.3) from the sunfreeware.com website.
>Whenever I run a compile I get the following:
>
>checking for gcc... (cached) cc
>checking wheter the C compiler (cc -O ) works... no
>configure: error: installation or configuration problem: C compiler cannot create executables.
Okay. You're running a "configure", not a compile. You can look in the config.log file (in the
directory you are cd'ed into when running the configure script) to see the details of WHY cc -O
doesn't work.
In this case, it would appear that you don't have the location where gcc is installed (/usr/local/bin, for the
prehuilt SunFreeware.com binaries I believe).
I also believe that by defining the environment variable
CC=/usr/local/bin/gcc
prior to running configure that you can ALSO make this work....
>I could use some advice as I am under deadline for this server installation.
BTW, you may need to download and install the binutils package as well - not sure if the 2.95.3 compiler
assumes these are present or not - but you'll get grumpy error messages about certain .<directive>'s not being
valid syntax when the output of gcc is assembled by the Sun as instead of by the GNU as that it's expecting!
-- Al
--
------------------------------------------------------------------------
Quality Software Management
http://home.earthlink.net/~qsmgmt
apl@alum.mit.edu
(978)287-0435 Voice
(978)808-6836 Cell
(978)287-0436 Fax
Software Process Improvement and Management Consulting
Language Design and Compiler Implementation
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Need some help with GCC
2001-11-20 16:21 ` Alan Lehotsky
@ 2001-11-28 6:16 ` Alan Lehotsky
0 siblings, 0 replies; 6+ messages in thread
From: Alan Lehotsky @ 2001-11-28 6:16 UTC (permalink / raw)
To: lmeier; +Cc: gcc
At 8:51 AM -0500 11/28/01, Layne Meier wrote:
>I downloaded the precompiled GCC (version 2.95.2 and 2.95.3) from the sunfreeware.com website.
>Whenever I run a compile I get the following:
>
>checking for gcc... (cached) cc
>checking wheter the C compiler (cc -O ) works... no
>configure: error: installation or configuration problem: C compiler cannot create executables.
Okay. You're running a "configure", not a compile. You can look in the config.log file (in the
directory you are cd'ed into when running the configure script) to see the details of WHY cc -O
doesn't work.
In this case, it would appear that you don't have the location where gcc is installed (/usr/local/bin, for the
prehuilt SunFreeware.com binaries I believe).
I also believe that by defining the environment variable
CC=/usr/local/bin/gcc
prior to running configure that you can ALSO make this work....
>I could use some advice as I am under deadline for this server installation.
BTW, you may need to download and install the binutils package as well - not sure if the 2.95.3 compiler
assumes these are present or not - but you'll get grumpy error messages about certain .<directive>'s not being
valid syntax when the output of gcc is assembled by the Sun as instead of by the GNU as that it's expecting!
-- Al
--
------------------------------------------------------------------------
Quality Software Management
http://home.earthlink.net/~qsmgmt
apl@alum.mit.edu
(978)287-0435 Voice
(978)808-6836 Cell
(978)287-0436 Fax
Software Process Improvement and Management Consulting
Language Design and Compiler Implementation
^ permalink raw reply [flat|nested] 6+ messages in thread
* Need some help with GCC
2001-11-20 16:21 Need some help with GCC Layne Meier
2001-11-20 16:21 ` Jeff Sturm
2001-11-20 16:21 ` Alan Lehotsky
@ 2001-11-28 5:52 ` Layne Meier
2 siblings, 0 replies; 6+ messages in thread
From: Layne Meier @ 2001-11-28 5:52 UTC (permalink / raw)
To: gcc
I downloaded the precompiled GCC (version 2.95.2 and 2.95.3) from the
sunfreeware.com website.
Whenever I run a compile I get the following:
checking for gcc... (cached) cc
checking wheter the C compiler (cc -O ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
I could use some advice as I am under deadline for this server installation.
Hardware info:
Sun Ultra Enterprise 250
512 Mb RAM
Solaris 8 (patched)
Thank you,
Layne Meier
Atlanta Newspapers
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-11-28 14:17 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-20 16:21 Need some help with GCC Layne Meier
2001-11-20 16:21 ` Jeff Sturm
2001-11-28 6:17 ` Jeff Sturm
2001-11-20 16:21 ` Alan Lehotsky
2001-11-28 6:16 ` Alan Lehotsky
2001-11-28 5:52 ` Layne Meier
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).