Skip to content

Commit 3cebf04

Browse files
committed
Fixed typos in chapter 4
Signed-off-by: Alberto Corona <[email protected]>
1 parent 6730970 commit 3cebf04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Chapter-4/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Our basic C++ runtime can be found in the [cxx.cc](https://github.com/SamyPesse/
1212

1313
#### Basic C/C++ functions
1414

15-
The kernel code can't use functions from the standards libraries so we need to add some basics functions for managing memory, string, ...
15+
The kernel code can't use functions from the standard libraries so we need to add some basic functions for managing memory and strings:
1616

1717
```
1818
void itoa(char *buf, unsigned long int n, int base);
@@ -32,7 +32,7 @@ These functions are defined in [string.cc](https://github.com/SamyPesse/How-to-M
3232

3333
#### Compile our kernel
3434

35-
Compiling a kernel is not the same thing as compile a linux executable, we can't use standard library and need no dependencies to the system.
35+
Compiling a kernel is not the same thing as compiling a linux executable, we can't use standard library and should have no dependencies to the system.
3636

3737
Our [Makefile](https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System/blob/master/src/kernel/Makefile) will define the process to compile and link our kernel.
3838

@@ -48,7 +48,7 @@ SC=g++
4848
FLAG= $(INCDIR) -g -O2 -w -trigraphs -fno-builtin -fno-exceptions -fno-stack-protector -O0 -m32 -fno-rtti -nostdlib -nodefaultlibs
4949
5050
# Assembly compiler
51-
ASM=nasm
51+
ASM=nasm
5252
ASMFLAG=-f elf -o
5353
```
5454

0 commit comments

Comments
 (0)