pthread_barrier_wait compile command
Jagadish Kotra
jagadishkotra at gmail.com
Fri Mar 29 04:35:18 UTC 2013
Hello,
I am a student and I am looking for some help with glibc. I am working on
a project where I am trying to add a new function call just like
pthread_barrier_wait( ) which takes in an additional arguement! I could
compile the glibc-2.15 for my Ubuntu and now I am trying to add the new
function .. I have that setup in place already something like
pthread_barrier_wait_jag( ) that takes in an extra argument. But I see
from the make command output ..
gcc ../nptl/sysdeps/unix/sysv/
linux/x86_64/pthread_barrier_wait.S -c -I../include
-I/home/jbk5155/test_glibc/glibc-build/nptl
-I/home/jbk5155/test_glibc/glibc-build -I../sysdeps/x86_64/elf
-I../nptl/sysdeps/unix/sysv/linux/x86_64
-I../sysdeps/unix/sysv/linux/x86_64
-I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv
-I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/x86_64/fpu/multiarch
-I../sysdeps/x86_64/fpu -I../sysdeps/x86_64/multiarch
-I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
-I../nptl -I.. -I../libio -I. -D_LIBC_REENTRANT -include
../include/libc-symbols.h -DNOT_IN_libc=1 -DIS_IN_libpthread=1
-DASSEMBLER -g -Wa,--noexecstack -o
/home/jbk5155/test_glibc/glibc-build/nptl/pthread_barrier_wait.o -MD -MP
-MF /home/jbk5155/test_glibc/glibc-build/nptl/pthread_barrier_wait.o.dt -MT
/home/jbk5155/test_glibc/glibc-build/nptl/pthread_barrier_wait.o
that it already uses a pre-built pthread_barrier_wait.S file. I will have
to edit the assembler code to achieve my objective which is a tedious
process. Hence, can you give me the command on how to generate this
pthread_barrier_wait.S file from the pthread_barrier_wait.c file as it is
not present in the Makefile currently ?
Appreciate your help!
Regards,
Jagadish.
More information about the uClibc
mailing list