libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Obsoleting LT_SCOPE


From: Roumen Petrov
Subject: Re: Obsoleting LT_SCOPE
Date: Wed, 26 Oct 2011 02:37:01 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.19) Gecko/20110430 SeaMonkey/2.0.14

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]