/branches/dynload/uspace/app/dltest/dltest.c |
---|
66,13 → 66,13 |
int main(int argc, char *argv[]) |
{ |
kputint(-1); |
// kputint(-1); |
/* kputint(0x100); |
printf("Hello from dltest!\n"); |
kputint(0x200); |
while(1);*/ |
printf("Hello from dltest!\n"); |
while(1); |
// while(1); |
return 0; |
} |
/branches/dynload/uspace/app/dltest/Makefile |
---|
38,7 → 38,7 |
include $(LIBC_PREFIX)/Makefile.toolchain |
CFLAGS += -I../../lib/libc -O0 |
LFLAGS := -Bdynamic -I/lib/rtld.so -rpath-link $(RTLD_PREFIX) |
LFLAGS := -Bdynamic -I/lib/rtld -rpath-link $(RTLD_PREFIX) |
# LIBS = $(LIBC_PREFIX)/libc.a |
LIBS = ../../lib/libc-shared/libc.so.0 |