GCC compiling error?
Posted: Mon Jan 09, 2012 11:20 am
When I try to use the GCC command to compile the kernel.c from the Bare Bones page on the wiki, this happens:
I thought about removing the parameter 'mbd', but I don't know how that would affect the kernel.
Any ideas?
Code: Select all
$ i586-elf-gcc -o kernel.o -c kernel.c -Wall -Wextra -Werror \
> -nostdlib -fno-builtin -nostartfiles -nodefaultlibs
cc1: warnings being treated as errors
kernel.c:1: warning: unused parameter 'mbd'
Any ideas?