Changes between Version 8 and Version 9 of Archi-1-TD9
- Timestamp:
- May 11, 2022, 12:17:49 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Archi-1-TD9
v8 v9 378 378 379 379 CFLAGS = -c # stop after compilation, then produce .o 380 CFLAGS += -Wall -Werror # gives almost all C warnings and considers them to beerrors380 CFLAGS += -Wall -Werror # almost all C warnings that becoming errors 381 381 CFLAGS += -mips32r2 # define of MIPS version 382 382 CFLAGS += -std=c99 # define of syntax version of C 383 CFLAGS += -fno-common # do not use common sections for non-static vars (only bss)384 CFLAGS += -fno-builtin # do not use builtin func tions of gcc (such asstrlen)383 CFLAGS += -fno-common # dont use common sections for non-static vars 384 CFLAGS += -fno-builtin # do not use builtin func of gcc (ie. strlen) 385 385 CFLAGS += -fomit-frame-pointer # only use of stack pointer ($29) 386 386 CFLAGS += -G0 # do not use global data pointer ($28) 387 387 CFLAGS += -O3 # full optimisation mode of compiler 388 CFLAGS += -I. # dir ectories where include files like <file.h> are located389 CFLAGS += -DNTTYS=$(NTTY) # #define NTTYS with thenumber of ttys in the prototype388 CFLAGS += -I. # dir. where include files like <file.h> are 389 CFLAGS += -DNTTYS=$(NTTY) # number of ttys in the prototype 390 390 391 391 # Rules (here they are used such as simple shell scripts)