Mail Archives: djgpp-workers/1996/07/31/02:32:48
>
> On Unix, gcc without -g does NOT strip the binary. If ours will, that
> would be a deviation from the normal behavior, which might bite you if
> you use Makefiles that come from Unix.
>
That's right, but what is normal behavior? Different flavors of Unix treat
the -g flag differently when it's passed to ld. Some ignore it, some don't.
I'm trying to argue that it's reasonable for us to do something with it.
Also if you are using a Unix Makefile it's likely the link command will
be somehting like "-o foo" (not "-o foo.exe") in which case you will have
the unstripped coff file preserved in any case. I'm only proposing that
the lack of -g cause the .exe to be stripped.
- Raw text -