Hacker News new | past | comments | ask | show | jobs | submit login

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



You 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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: