On Sun, 09 Nov 2008, Szak�ts Viktor wrote:

Hi Viktor,
> What do you think in smoothing out the difference between
> dll and non-dll code in non-GNU builds? (this means to
> enable HB_DYNDLL for all compilations, thus making this
> build switch unnecessary, and at the same time the whole
> build process much quicker. This would also mean that
> HB_BUILD_DLL=yes option is costless, so it can be made
> a default non-option.)

LD in GCC for Windows has a feature which create export
table automatically for all public functions when non
of them is explicitly marked as exported and such symbol
table is necessary to link application so it's not necessary
because now non exported binaries can be used to create DLL.
BTW few weeks ago I added some missing HB_EXPORT to functions
used in -gc3 output and I intentionally made it only in
header files. Looks that it works for all supported compilers
so we can safely remove HB_EXPORT from .c files.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to