home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6679 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  1.3 KB

  1. Path: sparky!uunet!mcsun!uknet!ox-prg!emerald.comlab!as
  2. From: as@prg.ox.ac.uk (Andrew Stevens)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: tlA: /bin/arch solved.
  5. Message-ID: <4120@inca.comlab.ox.ac.uk>
  6. Date: 25 Jul 92 15:04:02 GMT
  7. References: <1992Jul23.170723.15247@klaava.Helsinki.FI> <bjl.711923672@freyr>
  8. Sender: news@comlab.ox.ac.uk
  9. Organization: Oxford University Computing Laboratory, UK
  10. Lines: 22
  11.  
  12. In article <bjl.711923672@freyr> B.J.Lippolt@research.ptt.nl writes:
  13. >laakkone@klaava.Helsinki.FI (Tero Laakkonen) writes:
  14. >
  15. >>and i got one. somebody pointed out to me that "/usr/bin/uname -m"
  16. >>does exactly the same as /bin/arch does...
  17. >
  18. >Is there a way to distinguish between a 386 and a 486? I have a 486,
  19. >but 'uname -m' says 'i386'. But when I compile with 'gcc -m486' I'll
  20. >get code which doesn't run on a 386.
  21.  
  22. Surely this is not the case.   As I understood it the user-level instruction
  23. sets of the 386 and 486 are identical.  The -m486 flag just tweaks
  24. code generation to use instruction sequences better suited to the 486's
  25. instruction timings instead of sequences best suited to 386 instruction
  26. timings.
  27.  
  28.  
  29. Andrew
  30.         Andrew Stevens                  
  31.       Programmming Research Group       JANET: Andrew.Stevens@uk.ac.oxford.prg
  32.      11 Keble Road, Oxford, England     UUCP:  ...!uunet!mcvax!ukc!ox-prg!as
  33.      OX1 3QD   +44 0865 272563
  34.