Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3399 → Rev 3400

/branches/dynload/uspace/app/dltest/dltest.c
54,10 → 54,12
 
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);
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/rtld.so -rpath-link $(RTLD_PREFIX)
LFLAGS := -Bdynamic -I/lib/rtld.so -rpath-link $(RTLD_PREFIX)
 
# LIBS = $(LIBC_PREFIX)/libc.a
LIBS = ../../lib/libc-shared/libc.so.0