-
Notifications
You must be signed in to change notification settings - Fork 270
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
How to cross-build a NATIVE compiler? #60
Comments
this is the most relevant point in your report, yet the least detailed.
correct |
I'd like to build the same kinda "native" compiler too, for android. If compiling gcc with the "configure" script, I need to provide the option
EDIT: I've found out one way to do it. In my case, I've copied config.mak.dist to config.mak, added Maybe you can try like this, but have all "aarch64-linux-musl" replaced with "mipsel-linux-musl". It should work too. |
So, if I understand and want a native x86_64 compiler, you firstly build a cross compiler with
Because of this, I cannot compile if I am two level above root. |
What is your build machine's architecture? If it's x86_64, compiling with |
I want to make a musl-based light distro. So for that, I need a compiler for this distro. |
You can build again with CC/CXX pointed at the toolchain you have just got after the first pass. (Well... How did my message jump to the upside? ;p) |
I think that I resolved the issue. Can someone explains me this behaviour? (lol, why my older message is after yours??) |
I need to cross-build a NATIVE compiler for mipsel
setting:
results in error (compiler not found.
I am now copmiling using just
TARGET = mipsel-linux-musl
, but that should produce a cross-compiler running on my host machine, right?Should I use that to build the native?
Can someone point me to relevant docs, please?
Compilation ended without errors, but
make install
raise error:Any suggestion?
The text was updated successfully, but these errors were encountered: