This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs build problem for 980217 source
- To: ebuddington at wesleyan dot edu
- Subject: Re: egcs build problem for 980217 source
- From: Manfred dot Hollstein at ks dot sel dot alcatel dot de
- Date: Wed, 18 Feb 98 07:41:39 +0100
- Cc: egcs-bugs at cygnus dot com
- References: <19980217103652.16438@sparrow.vgernet.net>
- Reply-To: Manfred dot Hollstein at ks dot sel dot alcatel dot de
On Tue, 17 February 1998, 10:36:52, eric@sparrow.vgernet.net wrote:
> I am trying to compile the egcs source from code downloaded this
> morning (17 Feb 1998) via CVS. I'm not sure this is a bug, but
> it would be a nice thing to avoid if possible.
>
> --- System:
>
> $ uname -a
> Linux sparrow 2.0.33 #2 Tue Jan 20 19:01:37 EST 1998 i486 unknown
> $ gcc --version
> egcs-2.90.23 980102 (egcs-1.0.1 release)
> $ export | grep CC
> declare -x CC="gcc"
>
> --- Problem
>
> Failure during compile, wherein 'cc' is sought and not found.
> (there is indeed no 'cc' in my PATH, just 'gcc')
>
> The command is coming from Makefile.in:905, I believe.
>
> The 'cc' is coming from $(OLDCC), which seems to be hard-wired
> to 'cc' at Makefile.in:114, with the explaination that gcc
> shouldn't be used for this. My system has only gcc.
>
[snip]
> _mulsi3
> /bin/sh: cc: command not found
> make[2]: *** [libgcc1.a] Error 1
What kind of distribution do you have? On all Linux dists I know of, cc
is supposed to be a symlink to gcc.
Manfred