Commit 6cbfe3ff authored by Mathieu Maret's avatar Mathieu Maret

64bits compilation

parent 5c80f197
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 \
hwcore/idt.o hwcore/gdt.o \
hwcore/exception.o hwcore/exception_wrappers.o \
......
......@@ -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
......@@ -66,7 +66,7 @@ IMG_FNAME=fd.img
## Format disk image
##
init_image () {
echo "Initialize disk image $IMG_FILE..."
echo "Initialize disk image $IMG_FNAME..."
if [ ! -f $IMG_FNAME ] ; then
dd if=/dev/zero of=$IMG_FNAME bs=18k count=80 1>/dev/null 2>&1
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment