This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem about getopt.c


> Date: Fri, 20 Mar 2015 16:05:39 +0800
> From: Fei Ding <fdingiit@gmail.com>
> 
> /////////////////////////////////////////
> getopt.o:
> 
> getopt1.o:
> 
> getpwd.o:
>                  U __errno_location
> 0000000000000008 b failure_errno.3486
>                  U free
>                  U getcwd
>                  U getenv
> 0000000000000000 T getpwd
> 0000000000000000 b pwd.3485
>                  U stat
>                  U xmalloc
> /////////////////////////////////////////
> 
> Nothing there in getopt.o and getopt1.o, it is so strange to me.
> What's more, I write a printf() in the beginning of
> _getopt_internal(), and make clean && make && make install, but there
> is no printing message.
> 
> Did I miss something?

My crystal ball says that on your system the conditions for defining
ELIDE_CODE in getopt.c are fulfilled, and so libiberty's getopt is not
used.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]