Mail Archives: djgpp-workers/2004/10/27/11:25:47
GCC command line option -mcpu is used to build DJGPP runtime. This option
is deprecated in gcc-3.4.X. I haven't verified whether it's present at all in
gcc-4.0.0 development version. So to avoid warnings I applied the included
patch. Option -mtune is not supported in gcc-2.95.X, so we must either drop
support of it or provide generating gcc.opt and gcc-l.opt dpending on
compiler version.
Andris
--- djgpp/src/gcc-l.opt~1 2002-04-06 20:13:14.000000000 +0000
+++ djgpp/src/gcc-l.opt 2004-10-26 20:22:04.000000000 +0000
@@ -1,6 +1,6 @@
-MD
-O2
--mcpu=pentium
+-mtune=pentium
-march=i386
-Wall
-nostdinc
--- djgpp/src/gcc.opt~1 2002-04-03 16:22:24.000000000 +0000
+++ djgpp/src/gcc.opt 2004-10-26 20:21:44.000000000 +0000
@@ -1,6 +1,6 @@
-MD
-O2
--mcpu=pentium
+-mtune=pentium
-march=i386
-Wall
-Wbad-function-cast
- Raw text -