4 ms·
Is anyone able to run this on Mac/Darwin? I think it might need gcc: $ cc -fstrength-reduce -nostdinc -m32 -nostdlib -fno-builtin \ -nostartfiles -nodef
by akkartik 10y ago
Is anyone able to run this on Mac/Darwin? I think it might need gcc:
$ cc -fstrength-reduce -nostdinc -m32 -nostdlib -fno-builtin \
-nostartfiles -nodefaultlibs -I. -ggdb -I. -c -o boot.o boot.S
clang: warning: optimization flag '-fstrength-reduce' is not supported
clang: warning: argument unused during compilation: '-nostartfiles'
boot.S:21:23: error: unexpected token in '.section' directive
- sigjuice 10y agoYou will need a gcc that can make ELF files since that is what qemu -kernel expects. I don't think homebrew has a gcc that can do this.