2 Make a symbolic link to ${blddir}/src/config.h in this directory and do:
4 gcc -shared -fPIC -Demacs -DHAVE_CONFIG_H -I. \
5 -I/home/xemacs/xemacs-20.0/src -g dltest.c -o dltest
11 Lisp_Object Qdltest_counter;
13 DEFUN ("dltest", Fdltest, 0, 0, 0, /*
18 Qdltest_counter = make_int(XINT(Qdltest_counter) + 1);
20 return Qdltest_counter;
26 DEFVAR_LISP("dltest-counter", &Qdltest_counter /*
30 printf("Ten = %d\n", 10);
32 Qdltest_counter = make_int(10);