Ylianst / MeshAgent

MeshAgent used along with MeshCentral to remotely manage computers. Many variations of the background management agent are included as binaries in the MeshCentral project.
https://meshcentral.com
199 stars 81 forks source link

Embedded linux builds: sh4 and mips hardfloat #170

Open fred1410 opened 1 year ago

fred1410 commented 1 year ago

Hi, I need to compile agent binary for sh4 architecture. May you please provide my some hints for compilation? Regarding toolchain - yes I will have the envirnoment but my problem is I do not have expierience with cross-compilinig. I use Ubuntu 22.04, VStudio Code. The target architecture is SH4 (BusyBox - based)

The same issue for mips architecture, it seems I need to build hardfloat binary, current builds are not working.

Thanks

krayon007 commented 1 year ago

Do you have a link to where I can find the toolchain? If so, I can add it to my list of toolchainsz and build it for you

fred1410 commented 1 year ago

This is still under investigation :) This is quite ancient architecture and I am quite confused... It seems it is oe20_sh4 profile from crosstool-NG

fred1410 commented 1 year ago

Update: It is tool that creates required toolchain - https://github.com/gorgone/s3_releases It is actually for compiling differend soft but you can build required toolchain for sh4 architecture (and other as well). OK, my toolchain is ready on my disk, what next? Any info "how-to" ?

PS. I prefere to have a fishing rod and instruction how to angle rather than fish on the plate ;)