On Fri, 07 Nov 2008, Szak�ts Viktor wrote:

Hi Viktor,

>   * config/w32/owatcom.cf
>     * Removed 'debug all' linker option to make executable sizes 
>       significantly smaller by default. If you need debug info, 
>       use 'L_USR=debug all'.
>     ; NOTE: I'd suggest doing the same for other platform supported 
>             by owatcom. If there are no objections I can do this.

Removing debug information from final binaries can be done in any
moment by 'wstrip' so this is not a real problem for users. BTW support
for L_USR you should add to owatcom.cf because now it does not exists
because owatcom.cf define its own LD_RULE.
More important is debug information enabled during compilation. Some
compiler does not produce the same code when debug is enabled and does
not use all optimizations. AFAIK only GCC generates fully separated
debug information without any impact on generated code and it can be
fully and cleanly removed by strip.
To disable debug information in OpenWatcom build remove -d? (-d1) switch
from CPPFLAGS or change it to -d0. C_USR is working here.
I think that you can sync it with other platforms but do not forget
about adding L_USR support if LD_RULE is redefined.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to