Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I am trying to modify pthread_cond_wait functionality in nptl module of glibc-2.7. I made some changes in pthread_cond_wait.c and recompiled, but i notice that pthread_cond_wait.o is being created from ...
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    1

    help compiling glibc 2.7

    Hi

    I am trying to modify pthread_cond_wait functionality in nptl module of glibc-2.7. I made some changes in pthread_cond_wait.c and recompiled, but i notice that pthread_cond_wait.o is being created from pthread_cond_wait.S and build process is not using pthread_cond_wait.c file at all. pthread_cond_wait.S contains assembly code and I do not want to edit assembly code directly. Is there a easy way to recompile using changes i made in pthread_cond_wait.c? (If it matters, i am using gcc-4.3.2)

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Look at the make file. You will probably see a dependency on pthread_cond_wait.S instead of pthread_cond_wait.c which you will probably need to change. Make a backup copy of the Makefile before you change it, however.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...