Mail Archives: pgcc/1999/05/06/17:51:30
On Fri, May 07, 1999 at 12:37:45AM +0300, Alex Shnitman wrote:
> > Because egcs added these switches as -mk6. The rationale was that no -m
> > option includes the vendor name (-mintelpentium?).
>
> Oh, I didn't know that.
How could you? Maybe it should belong to the faq (hint, hint...)
> I'm sure. I'll tell you the exact flow of events. I compiled it with
> -mk6. It segfaulted. I compiled it with -mk6 -march=i486. It worked. I
> inferred that -mk6 uses -march=pentium by default. So I compiled with
> -mk6 -march=pentium and it segfaulted again, which I took as a proof
> to my assumption.
>
> Am I misunderstanding something?
No, I just wanted to be sure about the options ;)
>
> > > Why does the K6 qualify as i486 architecture? It's supposed to be
> > > totally Pentium-compatible, isn't it?
> >
> > The pentium, the i486 and the amdk6 share the same instruction set
> > architecture (with regards to a compiler). Both pentium and amdk6 use the
> > same instructions (i.e. -march=i486)
>
> So what uses -march=pentium?
This is strange. -mk6 expands to "-mcpu=k6 -march=i486". However, some
of the scheduling parameters change depending on the -march= switch
(they shouldn't). I have never looked into that, but maybe gcc changes
scheduling parameters with the -march=, which it shouldn't do. I'll
investigate.
> You have to download a source archive and a patch (a patched source
> can't be distributed because of patents on mp3 encoding). The source
> archive (the ISO sample code) is at http://geek.rcc.se/mp3encoder/ ,
> there are many links to mirrors there. The patch (and patching
> instructions) are at http://www.uq.net.au/~zzmcheng/lame/download.html .
Thanks, I'll try to look into this. (Don't expect this too quickly,
though)
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg AT goof DOT com |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
- Raw text -