From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24651 invoked by alias); 20 Mar 2015 10:54:39 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 24638 invoked by uid 89); 20 Mar 2015 10:54:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout29.012.net.il Received: from mtaout29.012.net.il (HELO mtaout29.012.net.il) (80.179.55.185) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 20 Mar 2015 10:54:37 +0000 Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NLI00B00B9YW900@mtaout29.012.net.il> for gdb@sourceware.org; Fri, 20 Mar 2015 12:51:17 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLI00A24BHHA420@mtaout29.012.net.il>; Fri, 20 Mar 2015 12:51:17 +0200 (IST) Date: Fri, 20 Mar 2015 10:54:00 -0000 From: Eli Zaretskii Subject: Re: Problem about getopt.c In-reply-to: To: Fei Ding Cc: gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: <83619wvt0a.fsf@gnu.org> References: X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00078.txt.bz2 > Date: Fri, 20 Mar 2015 16:05:39 +0800 > From: Fei Ding > > ///////////////////////////////////////// > 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.