Skip to contentSkip to conversation

"strip"-ping Windows executables

DISCUSSION Shriramana Sharma 2 participants 2 messages Feb 23, 2006

lore
Share & tools
lore
#0 lore raw

I have compiled a C program I wrote on Linux using MinGW 3.42 on Windows XP -- I wonder if it is possible for me to strip that file using Linux command strip -- is it safe?

Signature · 3 lines
Tux #395953 resides at http://samvit.org
playing with KDE 3.51 on SUSE Linux 10.0
$ date [] CCE +2006-02-23 W08-4 UTC+0530
#1 lore raw
Quoted 3 lines · Shriramana Sharma

I have compiled a C program I wrote on Linux using MinGW 3.42 on Windows XP -- I wonder if it is possible for me to strip that file using Linux command strip -- is it safe?

You need a version of strip which was built to work on Windows binaries (i.e. cross-binutils). An ELF version of strip won't work on COFF/PE executables.

Signature · 1 line
Glynn Clements <[email protected]>