3 Copyright (c) 1998-2000 by Florian Klaempfl, Pierre Muller
5 interprets the commandline options which are m68k specific
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29 poption68k
=^toption68k
;
30 toption68k
=object(toption
)
31 procedure interpret_proc_specific_options(const opt
:string);virtual;
37 globtype
,systems
,globals
;
39 procedure toption68k
.interpret_proc_specific_options(const opt
:string);
44 More
:=Upper(copy(opt
,3,length(opt
)-2));
47 for j
:=3 to length(opt
) do
49 '-' : initglobalswitches
:=initglobalswitches
-[cs_optimize
,cs_regalloc
,cs_littlesize
];
50 'a' : initglobalswitches
:=initglobalswitches
+[cs_optimize
];
51 'g' : initglobalswitches
:=initglobalswitches
+[cs_littlesize
];
52 'G' : initglobalswitches
:=initglobalswitches
-[cs_littlesize
];
53 'x' : initglobalswitches
:=initglobalswitches
+[cs_optimize
,cs_regalloc
];
54 '2' : initoptprocessor
:=MC68020
;
61 initasmmode
:=asmmode_m68k_mot
74 Revision 1.1 2002/02/19 08:22:38 sasu
77 Revision 1.1 2000/07/13 06:29:52 michael
80 Revision 1.9 2000/02/09 13:22:55 peter
83 Revision 1.8 2000/01/07 01:14:28 peter
84 * updated copyright to 2000