X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f From: Andris Pavenis To: djgpp-workers AT delorie DOT com Subject: gcc-3.4 and option -mcpu Date: Wed, 27 Oct 2004 18:28:56 +0300 User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200410271828.56384.pavenis@latnet.lv> Reply-To: djgpp-workers AT delorie DOT com 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