how uclibc generate header files ?

liaoxinglong at icubecorp.com liaoxinglong at icubecorp.com
Fri Jul 13 09:43:51 UTC 2012


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.

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


More information about the uClibc mailing list