-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
The doc says to build MentOS on macOS, these packages are needed:
- i386-elf-binutils
- i386-elf-gcc
I already did, and can built xv6. But when building MentOS, running make fails because it invokes Apple's compiler, not i386-elf-gcc
[ 1%] Building C object libc/CMakeFiles/libc.dir/src/err.c.o
cc: error: unsupported argument 'i686' to option '-march='
make[2]: *** [libc/CMakeFiles/libc.dir/src/err.c.o] Error 1
make[1]: *** [libc/CMakeFiles/libc.dir/all] Error 2
make: *** [all] Error 2
OK, how to modify the CMake config/Makefile/etc so it's i386-elf-gcc which is should be called instead?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels