Changes between Version 8 and Version 9 of Archi-1-TD9


Ignore:
Timestamp:
May 11, 2022, 12:17:49 PM (3 years ago)
Author:
franck
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Archi-1-TD9

    v8 v9  
    378378
    379379CFLAGS  = -c #                         stop after compilation, then produce .o
    380 CFLAGS += -Wall -Werror #              gives almost all C warnings and considers them to be errors
     380CFLAGS += -Wall -Werror #              almost all C warnings that becoming errors
    381381CFLAGS += -mips32r2 #                  define of MIPS version
    382382CFLAGS += -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 functions of gcc (such as strlen)
     383CFLAGS += -fno-common #                dont use common sections for non-static vars
     384CFLAGS += -fno-builtin #               do not use builtin func of gcc (ie. strlen)
    385385CFLAGS += -fomit-frame-pointer #       only use of stack pointer ($29)
    386386CFLAGS += -G0 #                        do not use global data pointer ($28)
    387387CFLAGS += -O3 #                        full optimisation mode of compiler
    388 CFLAGS += -I. #                        directories where include files like <file.h> are located
    389 CFLAGS += -DNTTYS=$(NTTY) #            #define NTTYS with the number of ttys in the prototype   
     388CFLAGS += -I. #                        dir. where include files like <file.h> are
     389CFLAGS += -DNTTYS=$(NTTY) #            number of ttys in the prototype   
    390390
    391391# Rules (here they are used such as simple shell scripts)