Hi Gary,

Gary V. Vaughan wrote:
Hi Chuck,

I note that no other GNU projects that I'm aware of jump through all the
__declspec hoops that the libltdl API tries to provide through LT_SCOPE.
Is any of this stuff still required on any non-museum Windows compiler
that would break if I removed it?
[]
The export decorator cannot be removed as is unknow how one project will build and try to export symbols.

Please find attached file bootstrap.sh with test cases that show export functionality on windows platform gcc compiler - function "export" depend from export statement and export attribute: Test cases 1 are without export decorator as 1x export only one of functions. Application 1x fail to link Test cases 2 are with export attribute as 2x export only one of functions. Boot application will be linked due explicitly defined export attribute.

Export of variables is other case .

Also if export attribute is applied only to variables if I remember function will not be exported.


Regards,
Roumen

Attachment: bootstrap.sh
Description: Bourne shell script

Attachment: bootstrap.sh.gz
Description: GNU Zip compressed data

_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool

Reply via email to