diff options
| author | Alexey Gavrilov <90127298+rebovas@users.noreply.github.com> | 2024-03-08 13:48:50 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-08 13:48:50 +0700 |
| commit | 1abc315e02a33cd62194b93898263eefd46cbfab (patch) | |
| tree | 60b27910ab64ef09948db3585f9d9142c7e22537 /README.md | |
| parent | 32e05e127197275bc4931e0beb6e1f7f29fb5d4d (diff) | |
Update README.md
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -9,18 +9,19 @@ sudo apt update -y sudo apt -y install build-essential binutils nasm xorriso grub-common qemu-system-i386 mtools ``` -Need build GCC cross compiler for i686 architecture to compile project sources. +You need to build GCC cross compiler for i686 or x86_64 supports x32 architecture/s to compile from sources. +Also required gcc and stdc++ libraries. Refer to GCC documentation for detailed information - <https://gcc.gnu.org/install/> ## Build and run -Before build the project set some variables - DEBUG and GCC_PATH. +Before build the project set some variables - DEBUG and LIBS_PATH. These variables may pass through *make* command `make *variables* *rule*`, or usage environment variables `export *name*=*value*`. #### Variables -1. DEBUG. Takes a boolean value (true or false). Responsible for the debug version of the project to test it via DGB. -2. GCC_PATH. Takes the path to the GCC library of the cross-compiler you built earlier. +1. DEBUG. Takes a boolean value (true or false). Responsible for the debug version of the project to test it via GDB. +2. LIBS_PATH. Takes the path to the required (gcc and stdc++) libraries. #### Ubuntu @@ -44,7 +45,7 @@ make DEBUG=true all - [Multiboot specification][6] - [GCC compiler documentation][7] - [Using NASM in a Hello World kernel][8] -- [Addres of video memory][9] +- [Video memory ports x86][9] [1]:https://habr.com/ru/companies/neobit/articles/173263/ [2]:https://www.gnu.org/software/grub/manual/grub/grub.pdf |
