On Jul 13, 2012 11:50 AM, <[email protected]> wrote: > > Hi, can anyone tell me how uclibc generate header files like tcb-offsets.h. i have a problem in generating tcb-offsets.h, in my compiler, it redefine MULTIPLE_THREADS_OFFSET, PID_OFFSET and TID_OFFSET.
git grep tcb-offset, it involves cpp and iirc awk, sed. HTH, > > following are the contents of my tcb-offsets.h: > #define MULTIPLE_THREADS_OFFSET -29792 > #define PID_OFFSET -29684 > #define TID_OFFSET -29688 > #define MULTIPLE_THREADS_OFFSET 0 > #define PID_OFFSET 0 > #define TID_OFFSET 0 > I only need the first define of the three macro. as you can guess, my gen_tcb-offsets.s is different from other gen_tcb-offsets.s compiled by other compilers. > > thanks. > > xinglong > _______________________________________________ > uClibc mailing list > [email protected] > http://lists.busybox.net/mailman/listinfo/uclibc _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
