jcmvbkbc / gcc-xtensa

gcc for xtensa
GNU General Public License v2.0
131 stars 58 forks source link

How to build gcc-xtensa for Windows? #11

Open TridentTD opened 6 years ago

TridentTD commented 6 years ago

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.

jcmvbkbc commented 6 years ago

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.

TridentTD commented 6 years ago

Thank you very much.

TridentTD commented 6 years ago

// 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?

jcmvbkbc commented 6 years ago

How can I find the configure file?

Debug what the script does.

And don't worry, your English is fine.

TridentTD commented 6 years ago

Thank you very mush.