[–] anta40 3y ago ↗ Seems like Apple's ld doesn't support the `-T` option. Installing i386-elf-gcc and i686-elf-gcc don't solve the problem either.Let's setup a Linux VM... [–] jart 3y ago ↗ Did you really think Apple would give you the tools to build your own operating system? [–] anta40 3y ago ↗ Hmm no idea. I only build 1 OS on my Mac: https://github.com/mit-pdos/xv6-public.It obviously won't compile with Apple's gcc (which actually is a clang wrapper), so have to install another compiler (i386-elf-gcc).But on my Debian box, it works with the standard gcc.
[–] jart 3y ago ↗ Did you really think Apple would give you the tools to build your own operating system? [–] anta40 3y ago ↗ Hmm no idea. I only build 1 OS on my Mac: https://github.com/mit-pdos/xv6-public.It obviously won't compile with Apple's gcc (which actually is a clang wrapper), so have to install another compiler (i386-elf-gcc).But on my Debian box, it works with the standard gcc.
[–] anta40 3y ago ↗ Hmm no idea. I only build 1 OS on my Mac: https://github.com/mit-pdos/xv6-public.It obviously won't compile with Apple's gcc (which actually is a clang wrapper), so have to install another compiler (i386-elf-gcc).But on my Debian box, it works with the standard gcc.
3 comments
[ 3.4 ms ] story [ 22.3 ms ] threadLet's setup a Linux VM...
It obviously won't compile with Apple's gcc (which actually is a clang wrapper), so have to install another compiler (i386-elf-gcc).
But on my Debian box, it works with the standard gcc.