Mail Archives: cygwin/1997/01/24/22:27:42
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 -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
Summarizing what several kindly people said and some more info of mine:
There is *no* -s in my man page for gcc/g++ on unix (v2.7)!
Using -Wl,-s would have put me on the right track, as -Wl is documented.
man ld on hp-ux shows no -S, and on DECunix/Alpha ld -S is something else.
GNU ld --help on cygwin explains -S as stripping debug symbols.
Indeed all 3 have -s!
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".
- Raw text -