gcc-xtensa
gcc-xtensa copied to clipboard
How to build gcc-xtensa for Windows?
I have already donwloaded gcc-xtensa version 4.9.2 release version. and I have already install MingW on my computer.
If I want to build for Windows platform , how to build them ?
Thank you.
Please consider using prebuilt toolchain for Windows, like this one, or this one. It will save you a lot of trouble if all you need is the toolchain.
If you decide to build gcc yourself the easiest way is to use somebody's else build scripts, e.g.: CHERTS, Fabien Poussin.
In general, it's just building a cross-compiler, a huge topic covered by the gcc documentation.
Thank you very much.
// Sorry for my poor English.
I have just tried both shell-script, however when call the scripts , both (CHERTS's shell-script & Fabien Poussin's shell-script) can't find ../configure occur error like this.
.......
Buidling GMP
./build.sh: line 103: ../configure: No such file or directory
How can I find the configure file?
How can I find the configure file?
Debug what the script does.
- check if the configure file is actually there (it should be in the ./dl/gmp-6.0.0a, if not there run the script with -x to see the trace of what it does to understand what went wrong).
- check if the configure script is executable (ls -l ./dl/gmp-6.0.0a/configure should show 'x' in permissions. If it doesn't then I guess it has something to do with tar or your filesystem. You can do chmod +x to make it executable, but I guess the same issue will happen with other scripts and compiled programs.
- check that you have script interpreter available (/bin/sh for that particular configure), if not install it or make a symbolic link.
And don't worry, your English is fine.
Thank you very mush.