From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10504 invoked by alias); 11 Jan 2012 04:30:16 -0000 Received: (qmail 10469 invoked by uid 22791); 11 Jan 2012 04:30:05 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_DB,TW_SM X-Spam-Check-By: sourceware.org Received: from mail-iy0-f169.google.com (HELO mail-iy0-f169.google.com) (209.85.210.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Jan 2012 04:29:52 +0000 Received: by iafj26 with SMTP id j26so560101iaf.0 for ; Tue, 10 Jan 2012 20:29:52 -0800 (PST) Received: by 10.50.180.138 with SMTP id do10mr5339732igc.20.1326256192410; Tue, 10 Jan 2012 20:29:52 -0800 (PST) Received: from [192.168.1.103] ([218.109.112.240]) by mx.google.com with ESMTPS id xu6sm392712igb.7.2012.01.10.20.29.50 (version=SSLv3 cipher=OTHER); Tue, 10 Jan 2012 20:29:51 -0800 (PST) Message-ID: <4F0D114F.4020809@gmail.com> Date: Wed, 11 Jan 2012 04:30:00 -0000 From: asmwarrior User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: Re: Building GDB 7.3.92 with MinGW References: <83hb03e9sx.fsf@gnu.org> <838vlfe0k9.fsf@gnu.org> <4F0CDAE4.3000100@gmail.com> <834nw2eva2.fsf@gnu.org> In-Reply-To: <834nw2eva2.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00340.txt.bz2 On 2012-1-11 12:08, Eli Zaretskii wrote: >> Date: Wed, 11 Jan 2012 08:42:12 +0800 >> > From: asmwarrior >> > >> > Here is what I did before: >> > make install >> > cd to installed_folder >> > strp *.exe > That doesn't strip the libraries, and if GDB will some time distribute > a shared library, won't DTRT with them. > > Stripping libraries needs special switches to `strip' which is a pain > to type, and for *.a libraries you need to run ranlib afterwards. > "install-strip" does all that automatically. Thank you very much! Mostly I think I don't need the "include" and "lib" folder in gdb. Do I need to develop a program depend on gdb's library? No I only need "bin" and "shared" folder. asmwarrior ollydbg from codeblocks' forum