Christian K ed629c738e add -lrt to makefiles, rework how common.cpp processed kl version. | vor 4 Jahren | |
---|---|---|
.. | ||
README.md | vor 5 Jahren | |
deploy.sh | vor 5 Jahren | |
makefile | vor 4 Jahren | |
sync.cmd | vor 5 Jahren |
Allows for cross-compiling kisslight in Windows (and linux at some point!)
this will walk through the process to setup a toolchain on windows
Install sysprog's RPi toolchain,
Then install sysprog's SmarTTY;
In the install directory for SmarTTY, add the following batch file:
@echo off
REM Store this in the root directory of SmartTTY application
SmarTTY.exe /UpdateSysroot:..\..\..\path\to\SysGCC\raspberry\arm-linux-gnueabihf\sysroot
then add the following to the repo's VSCode task list json file:
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
// perhaps you already have the json file
// just add the two blocks of code below
{
"label": "build kisslight",
"type": "shell",
"command": "cd devel; make; cd .."
},
{
"label": "sync sysroot",
"type": "shell",
"command": "devel\\sync.cmd"
}
]
}
and done.