Electrics-Eagles / PiElectricsEagles-dev

http://www.eeagles.net
MIT License
6 stars 0 forks source link

Build tool #7

Closed azaslavskis closed 3 years ago

azaslavskis commented 4 years ago

Well It will be good to make small tool that will compare verisons and build the code for different target

Build now using command : cargo build --target=arm-unknown-linux-gnueabihf

azaslavskis commented 3 years ago

cargo deb --target=arm-unknown-linux-gnueabihf

Builds Deb

azaslavskis commented 3 years ago

https://user-images.githubusercontent.com/20460747/103478766-95b36e00-4dd1-11eb-883b-d2ee692ec0bd.mp4

azaslavskis commented 3 years ago

Will be postpone to better times

azaslavskis commented 3 years ago

sudo -s nano ~/.cargo/config Write via nano editor [target.arm-unknown-linux-gnueabihf] linker = "arm-linux-gnueabihf-gcc" Save and exitsudo -s nano ~/.cargo/config Write via nano editor [target.arm-unknown-linux-gnueabihf] linker = "arm-linux-gnueabihf-gcc" Save and exit

azaslavskis commented 3 years ago

cross is our savior