Mail Archives: cygwin/1997/01/25/01:14:19
>
> Hi, you wrote:
>
> : firstly, compiling/linking with the -s flag to g++ causes an executable
> : to be produced, that will not run, - apparently a non NT executable.
>
> What do you expect -s to do, please?
> The great thing about gcc/gdb/cygwin is that I can use exactly the same
> commands and switches as on unix, and often also get the same errors and
> warnings, but my (maybe outdated) gcc/g++ man pages (on unix) list no -s.
> Closest thing is -S, but that isn't supposed to create an executable at all.
>
>
> Bye, Heribert (dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de)
> -
> For help on using this list, send a message to
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
>
The -s flag is passed to ld and is defined on the man-page for ld
on any UNIX system. So there must be a problem with ld when
stripping a executable. -s means stripping the executable.
It is done directly by ld (no call of strip)
Aurel Balmosan
-
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 -