how uclibc generate header files ?
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Jul 13 20:42:12 UTC 2012
On Jul 13, 2012 11:50 AM, <liaoxinglong at icubecorp.com> 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
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
More information about the uClibc
mailing list