Message-Id: <200106111237.f5BCbjd06348@hal.astr.lu.lv> Content-Type: text/plain; charset="iso-8859-13" From: Andris Pavenis To: djgpp-workers AT delorie DOT com Subject: [PATCH] First part of compiler options update for CVS version of DJGPP Date: Mon, 11 Jun 2001 15:37:45 +0300 X-Mailer: KMail [version 1.2.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Reply-To: djgpp-workers AT delorie DOT com Here is diffs for first part of compiler options update for building DJGPP runtime library to be ready for gcc-3.0: 1) replacing -m486 with -mcpu=pentium -march=i386 2) removal of -malign-* options 3) removal of -Wtraditional I didn't add additional warning options yet. Perhaps it can be done later Andris Index: djgpp/src/gcc.opt =================================================================== RCS file: /cvs/djgpp/djgpp/src/gcc.opt,v retrieving revision 1.2 diff -p -3 -r1.2 gcc.opt *** djgpp/src/gcc.opt 1997/12/29 16:50:24 1.2 --- djgpp/src/gcc.opt 2001/06/11 12:20:54 *************** *** 1,10 **** -MD -O2 -fno-strength-reduce ! -m486 ! -malign-loops=2 ! -malign-jumps=2 ! -malign-functions=2 -Wall -Wbad-function-cast -Wcast-qual --- 1,8 ---- -MD -O2 -fno-strength-reduce ! -mcpu=pentium ! -march=i386 -Wall -Wbad-function-cast -Wcast-qual *************** *** 14,20 **** -Wpointer-arith -Wshadow -Wstrict-prototypes - -Wtraditional -Wwrite-strings -nostdinc --- 12,17 ---- Index: djgpp/src/gcc-l.opt =================================================================== RCS file: /cvs/djgpp/djgpp/src/gcc-l.opt,v retrieving revision 1.1 diff -p -3 -r1.1 gcc-l.opt *** djgpp/src/gcc-l.opt 1997/12/29 16:50:38 1.1 --- djgpp/src/gcc-l.opt 2001/06/11 12:23:50 *************** *** 1,9 **** -MD -O2 ! -m486 ! -malign-loops=2 ! -malign-jumps=2 ! -malign-functions=2 -fno-strength-reduce -Wall -nostdinc --- 1,7 ---- -MD -O2 ! -mcpu=pentium ! -march=i386 -fno-strength-reduce -Wall -nostdinc Index: djgpp/tests/gcc.opt =================================================================== RCS file: /cvs/djgpp/djgpp/tests/gcc.opt,v retrieving revision 1.1 diff -p -3 -r1.1 gcc.opt *** djgpp/tests/gcc.opt 1995/07/10 02:40:40 1.1 --- djgpp/tests/gcc.opt 2001/06/11 12:24:26 *************** *** 8,13 **** -Wpointer-arith -Wshadow -Wstrict-prototypes - -Wtraditional -Wwrite-strings -nostdinc --- 8,12 ----