Mail Archives: cygwin/1997/12/14/11:05:58
In article <199712140516 DOT FAA106000 AT out4 DOT ibm DOT net>, <vischne AT ibm DOT net> wrote:
>P. S. Maybe this is already known, but compiling without
>the -g option still leaves executables that shrink when
>stipped.
This is the case with every version of cc or gcc that I've ever seen.
ld always puts symbols in the file unless you link with '-s'. When you
specify -g it only means that more debugging information may be placed
in the final executable. This extra information is usually things like
line number info and possibly symbol entries for static variables.
Without -g you'll probably only see global symbols in your executable.
Exactly what is left in the executable is visible by using the `nm' command.
--
http://www.bbc.com/ cgf AT bbc DOT com "Strange how unreal
VMS=>UNIX Solutions Boston Business Computing the real can be."
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -