Fix: use 1 based instead of 0 based fileid

This commit is contained in:
2026-04-06 21:47:10 +08:00
parent 69f2502823
commit a71e244a60
6 changed files with 28 additions and 19 deletions

View File

@@ -20,14 +20,15 @@ hosttype = unknown
# !!! ADD PATH TO CPP and CROSS COMPILER
ifeq ($(osname),Linux)
# full path name of your cpp program i.e.:
# full path name of your cpp program i.e.:
CPP = ../../usr/local/nachos/lib/gcc-lib/decstation-ultrix/2.95.2/cpp
# directory in which your gcc cross-compiler lives i.e.:
# directory in which your gcc cross-compiler lives i.e.:
GCCDIR = ../../usr/local/nachos/bin/decstation-ultrix-
LDFLAGS = -T script -N
ASFLAGS = -mips2
CPPFLAGS = $(INCDIR)
COFF2NOFF = ../../coff2noff/coff2noff.x86Linux
NACHOS = ../build.linux/nachos
hosttype = x86Linux
endif