/branches/dynload/uspace/lib/libtest/libtest.c |
---|
34,6 → 34,7 |
* @file |
*/ |
#include <stdio.h> |
#include "libtest.h" |
static void kputint(unsigned i) |
50,8 → 51,9 |
void test_func(void) |
{ |
kputint(42); |
while(1); |
printf("Hello, this is 'test_func()' in libtest.so!\n"); |
// kputint(42); |
// while(1); |
} |
/** @} |
/branches/dynload/uspace/lib/libtest/Makefile |
---|
39,10 → 39,12 |
ARCH_SOURCES := |
CFLAGS += -I../../srv/kbd/include -I../../srv/console -Iinclude -fPIC -O0 |
LFLAGS = -shared --no-undefined -soname libtest.so.0 |
LFLAGS = \ |
-shared --no-undefined -soname libtest.so.0 \ |
-Bdynamic -I/app/dload |
# LIBS = $(LIBC_PREFIX)/libc.pic.a |
LIBS = |
LIBS = $(LIBC_PREFIX)/shared/libc.so.0 |
DEFS += -DRELEASE=\"$(RELEASE)\" |
ifdef REVISION |