This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC "make" errors
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "mandeep singh bhambra" <mandeepbhambra at technologist dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 5 Sep 2007 13:57:29 +0200
- Subject: Re: GCC "make" errors
- References: <20070905114749.299241F50B1@ws1-2.us4.outblaze.com>
On 9/5/07, mandeep singh bhambra <mandeepbhambra@technologist.com> wrote:
>
> Hi,
>
> In response to the march options, I tried to use both
> "-march=athlon-xp -g -O2" and "-march=i686 -g -O2" but it does not
> like it. It still gives the error message about the 386 commands.
>
> When i use the ./configure command the march option is accepted as
> part of using gcc as it displays the following:
>
> checking for gcc... (cached) gcc
> checking whether the C compiler (gcc -march=athlon-xp -g -O2 ) works... yes
> checking whether the C compiler (gcc -march=athlon-xp -g -O2 ) is a
> cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
>
> checking for gcc... (cached) gcc
> checking whether the C compiler (gcc -march=i686 -g -O2 ) works... yes
> checking whether the C compiler (gcc -march=i686 -g -O2 ) is a
> cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
>
> Can you please outline what I can do to eliminate the error message
> or which version of binutils i can install.
>
> Thanks,
>
> Mani
>
> > > ----- Original Message -----
> > > From: "Tim Prince" <n8tm@aol.com>
> > > To: mandeepbhambra@technologist.com
> > > Subject: Re: GCC "make" errors
> > > Date: Fri, 10 Aug 2007 02:07:44 -0700
> > >
> > >
> > > mandeepbhambra@technologist.com wrote:
> > > Hi,
> > >
> > > I wanted update my GCC compiler to 4.2.1 to install an updated
> > > version of C libraries (glibc) and it is giving me errors while
> > > it is making the build. I type ./configure which works fine but
> > > when I type "make" it runs fine until it starts to give errors
> > > which are as follows:
> > >
> > > /tmp/ccacyMlE.s: Assembler messages:
> > > /tmp/ccacyMlE.s:72: Error: no such 386 instruction: `stmxcsr'
> > > /tmp/ccacyMlE.s:90: Error: no such 386 instruction: `ldmxcsr'
> > > /tmp/ccacyMlE.s:119: Error: no such 386 instruction: `fxsave'
Your binutils version is obviously too old.
Richard.