From 1abc315e02a33cd62194b93898263eefd46cbfab Mon Sep 17 00:00:00 2001 From: Alexey Gavrilov <90127298+rebovas@users.noreply.github.com> Date: Fri, 8 Mar 2024 13:48:50 +0700 Subject: Update README.md --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 53cee82..f2b6536 100644 --- a/README.md +++ b/README.md @@ -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 - ## 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 -- cgit v1.2.3