Re: which compiler will it use?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



jerry zhai wrote:

>             I was installing gcc on my linux, I found there is a
> "xgcc" and "cc1" in the source tree, and meanwhile I got a system gcc
> in directory /usr/bin. The make build stage completed successfully,
> but when I type "make install",  it produced error like
>            "cc1: unrecognized option `-Wold-style-definition'"
> 
>             I checked and found that it was because cc1 called by make
> program was my system gcc, version 3.2 , which didn't support those
> flags.  I wonder which  should called for installation process , the
> accompany xgcc or the system gcc?  And how? Just modify the  PATH
> variable ?

This usually happens because something has changed between the time
ypu ran configure and the time you ran install.  Perhaps, for example,
the PATH has changed.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux