Building debug symbols

Alexander Gottwald
Tue Dec 14 15:00:00 GMT 2004

On Tue, 14 Dec 2004, Sebastian Haby wrote:

> Hello again!
> I followed your steps but what i get is a 13MB big XWin.exe and not a retail XWin.exe and a debug-symbols file. What am I doing wrong?

The binary contains both code and debug symbols. To move them to a 
separate file use

objcopy --only-keep-debug Xwin.exe Xwin.dbg

to remove debug information from XWin.exe do

strip XWin.exe

--           ICQ: 126018723

More information about the Cygwin-xfree mailing list