-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build-toolchain fails on linux and osx, libc not found #1
Comments
config.status: executing default commands |
This seems to be an issue with the Makefile configure that comes with the version of gcc-6 you selected. I manually downloaded 7.5.0, extracted it to /src and changed $VERSION in ./build-gcc.sh in order to successfully build. More detail: |
pi@raspberrypi:~/Projects/m68k-elf-gcc/m68k-toolchain/bin $ ./m68k-elf-gcc-7.5.0 ~/Projects/asmtest/main.c for some reason libc.so is not created with gcc 7, so still stuck. |
despite the redundancy making the .s file, using this make (i.e. using -nostdlib) allows me to compile on Debian/pi. Is there a way to build gcc so that -nostdlib isn't required on every compile? |
mkdir .deps
/bin/sh ../../source/gcc-6.3.0/mkinstalldirs /Users/shram/Projects/m68k-elf-gcc/m68k-toolchain /Users/shram/Projects/m68k-elf-gcc/m68k-toolchain
/bin/sh: line 0: cd: m68k-elf/libgcc: No such file or directory
make: *** [install-target-libgcc] Error 1
./build-toolchain.sh: line 77: Failed to build gcc stage 1, please check build.log: command not found
The text was updated successfully, but these errors were encountered: