delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/05/12/04:56:19

Date: Sat, 12 May 2001 11:41:32 +0300 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: djgpp-workers AT delorie DOT com
Subject: [PATCH] Update to compiler options for DJGPP CVS version
Message-ID: <Pine.A41.4.05.10105121133530.47370-100000@ieva06.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

Here is update to compiler options for DJGPP CVS version:

- I changed '-m486' to '-march=i386 -mcpu=pentium'. -m486 and similar
  options are deprecated with gcc-3.0

- removed -malign-* options. Perhaps we should rely on gcc to handle it by
  default. Maybe it could be possible to add something back after some
  profiling (if somebody will do it)

- removed -traditional. -traditional is becoming nuisance with gcc-3.0
  Parhaps its best to remove -traditional rather that -Werror

Andris

*** djgpp/src/gcc.opt~2	Mon Dec 29 18:50:24 1997
--- djgpp/src/gcc.opt	Fri May 11 17:35:44 2001
***************
*** 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
! -march=i386
! -mcpu=pentium
  -Wall
  -Wbad-function-cast
  -Wcast-qual
***************
*** 14,20 ****
  -Wpointer-arith
  -Wshadow
  -Wstrict-prototypes
- -Wtraditional
  -Wwrite-strings
  -nostdinc
  
--- 12,17 ----
*** djgpp/src/gcc-l.opt~2	Mon Dec 29 18:50:38 1997
--- djgpp/src/gcc-l.opt	Fri May 11 17:58:34 2001
***************
*** 1,9 ****
  -MD
  -O2
! -m486
! -malign-loops=2
! -malign-jumps=2
! -malign-functions=2
  -fno-strength-reduce
  -Wall
  -nostdinc
--- 1,7 ----
  -MD
  -O2
! -march=i386
! -mcpu=pentium
  -fno-strength-reduce
  -Wall
  -nostdinc
*** djgpp/tests/gcc.opt~2	Mon Jul 10 05:40:40 1995
--- djgpp/tests/gcc.opt	Fri May 11 17:36:20 2001
***************
*** 8,13 ****
  -Wpointer-arith
  -Wshadow
  -Wstrict-prototypes
- -Wtraditional
  -Wwrite-strings
  -nostdinc
--- 8,12 ----

- Raw text -


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