diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 38 |
1 files changed, 32 insertions, 6 deletions
@@ -24,6 +24,35 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +Building +-------- + +Adapt $SYSROOT in userspace/sys/Makefile + +Requirements: + +* OS Specific Toolchain [1] + + binutils-2.25 + gcc-5.1.0 + +* Newlib 2.2.0 [2] + + adapt config.sub + + $ ./configure --target=i686-foolos --prefix=/home/miguel/opt/gcc-5.1.0-foolos/ + $ make + $ make install + + /* + adapt libgloss/libnosys + uncomment environ.c and add stubwarnings for sbrk and exit + */ + +* GRUB2 + + + Usage ----- @@ -34,12 +63,6 @@ following way: $ cat FoolOS.img > /dev/sdX -You will require some dependencies (as newlib) in order to build. - -adapt libgloss/libnosys - -uncomment environ.c and add stubwarnings for sbrk and exit -Build newlib with: --target=i686-elf to use the crosscompiler Supported Platforms @@ -145,6 +168,9 @@ REFERENCES * http://wiki.xomb.org/index.php?title=ACPI_Tables * and many many more... +[1] http://wiki.osdev.org/Hosted_GCC_Cross-Compiler +[2] https://sourceware.org/newlib/ + NOTES ===== in freestanding mode we can just use this c lib headers: |
