[SOLVED] - Doubts when building libgcc -mcmodel=kernel
Posted: Mon Feb 25, 2019 10:07 pm
Hi, I'm new to the community. I'm taking my first steps in the study and development of an OS.
In the readings of the osdev wiki there is something that is not clear to me in the Building libgcc for mcmodel=kernel https://wiki.osdev.org/Building_libgcc_ ... l%3Dkernel.
The question I have is:
I have to build two libgcc?
If I have to do this, then I have to build two gcc?
If this is so, do I have to build two binutils?
On the other hand, from what I have understood so far:
-mcmodel=kernel, as its name implies is used for kernel's compilation?
-mcmodel=large is used for compilations of user mode applications?
in both cases they are used to make compilations for different objective platforms. Right?
Thanks in advance for your answers.
In the readings of the osdev wiki there is something that is not clear to me in the Building libgcc for mcmodel=kernel https://wiki.osdev.org/Building_libgcc_ ... l%3Dkernel.
The question I have is:
I have to build two libgcc?
If I have to do this, then I have to build two gcc?
If this is so, do I have to build two binutils?
On the other hand, from what I have understood so far:
-mcmodel=kernel, as its name implies is used for kernel's compilation?
-mcmodel=large is used for compilations of user mode applications?
in both cases they are used to make compilations for different objective platforms. Right?
Thanks in advance for your answers.