delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/17/14:17:35

Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Wed, 17 Feb 1999 13:53:46 +0000 (GMT)
From: Bob Firth <firth AT troika DOT demon DOT co DOT uk>
To: gnu-win32 AT cygnus DOT com
Subject: -mcpu vs -march
Message-ID: <Pine.LNX.3.96.990217135320.2563B-100000@troika.demon.co.uk>
MIME-Version: 1.0

I'm using mingw32 on Intel.  I was wondering what is the difference
between using, say, -mcpu=pentium and -march=pentium.  The skimpy
documentation I have implies that the code generated using -march may not
run on all i386 architecture cpu's, whereas using -mcpu it will run
everywhere, if not at its most efficient.  Is this correct?

Bearing in mind the software will run on a variety of different machines
(pentium onwards), what is the best compromise of cpu to compile for? 

What about the AMD K6 ? 

-- 
Bob Firth <firth AT troika DOT demon DOT co DOT uk>
Troika Associates Limited
Nash House, 28 Church Road, Tunbridge Wells, Kent TN1 1JP, UK
Phone: +44-1892-543373   Fax: +44-1892-545585




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019