delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/24/12:30:01

From: jeffdb AT netzone DOT com ("Mikey")
Subject: Re: Windows API calls that don't work? (Was RE: Stupid stupid question :/)
24 Mar 1997 12:30:01 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199703241434.HAA06803.cygnus.gnu-win32@nz1.netzone.com>
Mime-Version: 1.0
Original-To: "Colin Peters" <colin AT bird DOT fu DOT is DOT saga-u DOT ac DOT jp>
Original-Cc: "cygnus" <gnu-win32 AT cygnus DOT com>
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Original-Sender: owner-gnu-win32 AT cygnus DOT com

In answer to your last question, ld -s (strips) an executable incorrectly,
and from what I understand makes it unusable on NT, you keep getting not
owner errors, it also removes exactly the information strip.exe needs to
work, so that using strip.exe on a .exe produced with ld -s fails with
"truncated file".
strip.exe (strips) an executable correctly.

> PS. Any confirmations on that statement about NT from other readers?
>     Does stripping an executable make it work? Do you *have* to strip
>     on NT? Is there a difference between the -s link option and using
>     strip after linking?
> 

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019