Open yingshaoxo opened 1 month ago
Sorry for this, I just found a big issue, the 'gcc-arm-none-eabi' is about 1.8 GB, which is too huge for mrp.
The original mrp sdk is just 300 MB, after 7z, it is just about 100MB.
yingshaoxo@deepin20:~/Downloads/gcc_mrpbuilder/demo$ sudo apt install gcc-arm-none-eabi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
binutils-arm-none-eabi libnewlib-arm-none-eabi libnewlib-dev libstdc++-arm-none-eabi-newlib
Suggested packages:
libnewlib-doc
The following NEW packages will be installed:
binutils-arm-none-eabi gcc-arm-none-eabi libnewlib-arm-none-eabi libnewlib-dev
libstdc++-arm-none-eabi-newlib
0 upgraded, 5 newly installed, 0 to remove and 47 not upgraded.
Need to get 174 MB of archives.
After this operation, 1,746 MB of additional disk space will be used.
Do you want to continue? [Y/n]
I think this is not a reliable way to building mrp
I didn't know we must use gcc to do the compile
tcc is fine
The 小蟀 made a dev package, which just uses 100MB zip file, did the mrp compile thing in windows xp by using a "build.bat"
If you want to have a look at his work, I can send it to you.
I did some deletion on those files, deleted some pdf, now the xp mrp dev package is just about 57MB, which is OK for using.
I just open sourced that tool: https://github.com/yingshaoxo/mrp_app_dev_tools
It is working good when I use "wine game helper" to build mrp in linux.
It calls window building toolchain like this:
The only problem is it does not supprt xp system. Because newest golang version do not support xp.
I have the source code of the last xp supported golang: https://github.com/yingshaoxo/go/blob/master/xp_support_go1.10.src.tar.gz
But I didn't try to compile it yet, I may try it in alpine in the next few days. But if you can build a win32 xp_supported mrpbuilder yourself, then I don't have to do that.
We will see.
Waiting for reply.