This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Experimental slangwin.tar.gz at deninc.com
- To: gnu-win32 at cygnus dot com
- Subject: Re: Experimental slangwin.tar.gz at deninc.com
- From: cgf at bbc dot com (Christopher Faylor)
- Date: Sun, 14 Dec 1997 18:24:10 GMT
- Organization: Boston Business Computing, Ltd.
- References: <199712140516.FAA106000@out4.ibm.net>
- Reply-To: cgf at bbc dot com
In article <199712140516.FAA106000@out4.ibm.net>, <vischne@ibm.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@bbc.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@cygnus.com" with one line of text: "help".