Re: Building GDB 7.3.92 with MinGW

asmwarrior
2012-01-11T00:37:56Z

On 2012-1-11 5:31, Tom Tromey wrote:
>>>>>> "Eli" == Eli Zaretskii<eliz@gnu.org> 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