Update readme & fix line endings
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
5553fdb38c
commit
2785ab16ae
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.drone.yml
|
||||||
|
README.md
|
5
README.md
Normal file
5
README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# hello-ci
|
||||||
|
|
||||||
|
[![Build Status](https://drone.chrz.de/api/badges/chonal/hello-ci/status.svg)](https://drone.chrz.de/chonal/hello-ci)
|
||||||
|
|
||||||
|
Demo project for the Raspberry Pi cross compoler, see https://chrz.de/2020/02/14/raspberry-pi-cross-compilation-using-docker/.
|
26
main.cpp
26
main.cpp
@ -1,14 +1,14 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
struct utsname unameData;
|
struct utsname unameData;
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
cout << "Hello from binary!" << endl;
|
cout << "Hello from binary!" << endl;
|
||||||
uname(&unameData);
|
uname(&unameData);
|
||||||
printf("Running on %s, %s\n", unameData.sysname, unameData.machine);
|
printf("Running on %s, %s\n", unameData.sysname, unameData.machine);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user