Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions ExampleEntryJasonKridner/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
I've left my source code around as an example. To build, run `make`.

To cross-build so that it can run on an ARM platform, install a cross-compiler,
then run `CC=${PATH_TO_ARM_CROSS} make` where ${PATH_TO_ARM_CROSS} for the
Angstrom cross compilers would be "arm-angstrom-linux-gnueabi-gcc". If you're
using the emdebian cross compilers, then it would be "arm-linux-gnueabi-gcc".
# README

To execute the cross built binary, put it onto an ARM Linux system and invoke
helloworld.bin. To execute the cross built binary on QEMU, install qemu-static
on your machine and run `qemu-arm-static ./helloworld.bin`.
## Introduction

Jason Kridner
jkridner on #beagle
BeagleBoard.org GSoC admin
Submission for GSoC 2024 BeagleBoard.org contributor application.

Commited the modified source code and the screenshot of binary executions.

## Steps to build and run the application:

- export CC=arm-linux-gnueabi-gcc
- make
- qemu-arm-static ./helloworld.bin

![alt text](./images/cross_compile_gsoc_application.png)
Binary file modified ExampleEntryJasonKridner/helloworld.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion ExampleEntryJasonKridner/helloworld.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

int main(int argc, char** argv)
{
printf("Jason Kridner - %s\n", __DATE__);
printf("Vaishak Vidhyadharan - %s\n", __DATE__);
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.