Skip to content
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

Can't setup cross-compiler #12

Closed
HittmanA opened this issue Feb 20, 2017 · 4 comments
Closed

Can't setup cross-compiler #12

HittmanA opened this issue Feb 20, 2017 · 4 comments

Comments

@HittmanA
Copy link

I follow all the instructions (I even tried the updated ones) and I get this:

checking build system type... i386-apple-darwin16.0.0
checking host system type... i386-apple-darwin16.0.0
checking target system type... i386-pc-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for gcc... /usr/local/bin/gcc-6.3.0_1
checking for C compiler default output file name... 
configure: error: in `/tmp/src/binutils-build':
configure: error: C compiler cannot create executables
See `config.log' for more details.

How do I fix this?

@ghost
Copy link

ghost commented Mar 1, 2017

Could you attach the config.log file?

@ghost
Copy link

ghost commented Mar 2, 2017

Also, useful tutorial
http://wiki.osdev.org/GCC_Cross-Compiler

@cfenollosa
Copy link
Owner

Sorry, technical feedback for installing the C compiler is out of the scope of this tutorial. Thanks for your interest, I hope you got your problem solved!

@Auxilus
Copy link

Auxilus commented May 31, 2019

Adding sudo solves this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants