This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC "make" errors


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'
> > make[3]: *** [crtfastmath.o] Error 1
> > make[3]: Leaving directory `/usr/src/gcc-4.2.1/host-i686-pc-linux-gnu/gcc'
> > make[2]: *** [all-stage1-gcc] Error 2
> > make[2]: Leaving directory `/usr/src/gcc-4.2.1'
> > make[1]: *** [stage1-bubble] Error 2
> > make[1]: Leaving directory `/usr/src/gcc-4.2.1'
> > make: *** [all] Error 2
> >
> > I have latest versions of make 3.81, binutils, coreutils, 
> > texinfo > installed. I am running Linux JDS 2003 which I have 
> > been told is > SUSE Linux on a Athlon 1.6Ghz. It seems Linux 
> > users on linux > forums have limited knowledge of this, as I have 
> > not recieved any > assistance from them so your help would be 
> > really appreciated.
> >
> > Either you don't have a binutils from the last 8 years, or you 
> > have somehow crossed up your march= options, which you didn't 
> > divulge.
> 
> >
> 
> 
> --
> We've Got Your Name at http://www.mail.com !
> Get a FREE E-mail Account Today - Choose From 100+ Domains

>


-- 
We've Got Your Name @ www.mail.com!!!
Get a FREE E-mail Account Today - Choose From 100+ Domains


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]