From b990733af9d6a07c2130daeb5fd39c75f6804441 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Wed, 9 Jan 2019 16:42:49 +0100 Subject: add examples for dynamic linking / loading one example by doing it manually with an ugly Makefile, another one by using autotools. Signed-off-by: Manuel Traut --- schulung_tools/linking/helloat/func1.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 schulung_tools/linking/helloat/func1.c (limited to 'schulung_tools/linking/helloat/func1.c') diff --git a/schulung_tools/linking/helloat/func1.c b/schulung_tools/linking/helloat/func1.c new file mode 100644 index 0000000..ab006bd --- /dev/null +++ b/schulung_tools/linking/helloat/func1.c @@ -0,0 +1,6 @@ +#include + +void func1(void) +{ + printf("Hello from %s!\n", __func__); +} -- cgit v1.2.3