Browse Source

64bits support

master
Mathieu Maret 4 years ago
parent
commit
b081db6497
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      Makefile
  2. +1
    -1
      support/build_image.sh

+ 2
- 2
Makefile View File

@ -1,6 +1,6 @@
CC=gcc
CFLAGS = -Wall -nostdlib -nostdinc -ffreestanding -DKERNEL_SOS
LDFLAGS = --warn-common
CFLAGS = -Wall -nostdlib -nostdinc -ffreestanding -DKERNEL_SOS -m32 -fno-asynchronous-unwind-tables
LDFLAGS = --warn-common -m elf_i386
OBJECTS = bootstrap/multiboot.o \
drivers/x86_videomem.o drivers/bochs.o \
sos/klibc.o sos/main.o


+ 1
- 1
support/build_image.sh View File

@ -49,7 +49,7 @@ print_usage () {
exit 1
}
grub_dirs_common="/usr/local/share/grub/i386-freebsd /usr/local/share/grub/i386-pc /usr/share/grub/i386-pc /usr/lib/grub/i386-pc /usr/local/grub /usr/share/grub/i386-redhat /usr/local/src/grub-0.5.94 $HOME/share/grub/i386-pc/"
grub_dirs_common="/usr/local/share/grub/i386-freebsd /usr/local/share/grub/i386-pc /usr/share/grub/i386-pc /usr/lib/grub/i386-pc /usr/local/grub /usr/share/grub/i386-redhat /usr/local/src/grub-0.5.94 $HOME/share/grub/i386-pc/ /usr/lib/grub/x86_64-unknown/"
sbin_grub_path="/usr/local/sbin /usr/sbin /sbin $HOME/sbin"
PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin


Loading…
Cancel
Save