This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++: EGCS perf. vs GCC
- To: Alex Maranda <amaranda at spider dot com>, David Ronis <ronis at onsager dot chem dot mcgill dot ca>
- Subject: Re: C++: EGCS perf. vs GCC
- From: Kurt Garloff <garloff at hft dot e-technik dot uni-dortmund dot de>
- Date: Wed, 9 Dec 1998 12:04:00 +0100
- Cc: egcs at egcs dot cygnus dot com
- References: <199812071701.MAA03835@onsager.chem.mcgill.ca> <Pine.GSO.3.96.981208103607.5165E-100000@caleyipa.spider.com>
On Tue, Dec 08, 1998 at 11:02:26AM +0000, Alex Maranda wrote:
> Will someone please enlighten me as for the purpose annd actual effect of
> -mcpu and -march? they are always both specified even if not passed
-mcpu turns on optimizations for the selected CPU (instruction scheduling
...) which don't destroy compatibility to the CPU specified with -march.
-march=pentiumpro eg. will result in binbaries which don't run on Pentiums,
486 ... using some PPro specific machine instructions.
--
+--------------------------------------------------------------+
| cand.phys. Kurt Garloff C1-O4-101 (Chemiegeb"aude) |
| garloff@hft.e-technik.uni-dortmund.de |
| Public PGP key available ! |
+--------------------------------------------------------------+