On Wed, 06 Aug 2008, Szakáts Viktor wrote: Hi Viktor,
> Currently harbour.dll is created with full symbol information. About which symbols you are talking about. Debug information (created by -g gcc compile time flag) or relocation and symbol table? > I use L_USR=-s to request stripping for all binaries for the > final binary distribution to avoid that. But this flag is not > effective for harbour.dll, since it's done outside the GNU > make system. L_USR is used for static libraries. The parameters accepted by 'ar' are different then the one used by 'gcc' when shared library is created so we cannot use the same envvar. If you need it then we can intorduce new envvar, f.e. SO_USR/SL_USR/ DL_USR which will be passed to gcc when shared library is created. You can also use strip with -S or -s parameter to strip symbols from existing DLL. Anyhow please remember that most of symbols come from debug informations (-g compiler switch) and it's enough to remove -g from C_USR and that the relocation table cannot be safely removed in some systems. > Can you change hb-func.sh to honor this setting, or if this is > not possible, do the stripping by other means? It cannot be L_USR but as new envvar yes. I can add it and in such case I think it should be also added to non GNU make systems. best regards, Przemek _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
