From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15687 invoked by alias); 11 Jan 2012 00:37:56 -0000 Received: (qmail 15679 invoked by uid 22791); 11 Jan 2012 00:37:55 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_DB 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 00:37:42 +0000 Received: by iafj26 with SMTP id j26so263393iaf.0 for ; Tue, 10 Jan 2012 16:37:41 -0800 (PST) Received: by 10.42.189.5 with SMTP id dc5mr23272728icb.51.1326242261553; Tue, 10 Jan 2012 16:37:41 -0800 (PST) Received: from [192.168.1.103] ([218.109.112.240]) by mx.google.com with ESMTPS id b20sm268734419ibj.7.2012.01.10.16.37.39 (version=SSLv3 cipher=OTHER); Tue, 10 Jan 2012 16:37:40 -0800 (PST) Message-ID: <4F0CDAE4.3000100@gmail.com> Date: Wed, 11 Jan 2012 01:31: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> In-Reply-To: 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/msg00333.txt.bz2 On 2012-1-11 5:31, Tom Tromey wrote: >>>>>> "Eli" == Eli Zaretskii writes: > > Eli> I normally keep the unstripped binary with the sources, but install > Eli> stripped ones. > > As a workaround you can > > make install INSTALL_PROGRAM='install -s' > > Tom > Yeah, this is a better way, I found install-strip does not work under mingw for a long time. Here is what I did before: make install cd to installed_folder strp *.exe I keep the unstripped binary in the build tree, because I can debug it under MinGW, I'm not sure I can do this if I move the stripped version to some other place, maybe I need to adjust the source path. asmwarrior ollydbg from codeblocks' forum