automake
[Top][All Lists]
Advanced

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

Re: Extra_dist cannot hold two long lists?


From: John Calcote
Subject: Re: Extra_dist cannot hold two long lists?
Date: Wed, 11 Jun 2008 08:29:29 -0600
User-agent: Thunderbird 2.0.0.12 (X11/20080226)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A117 wrote:
> problem is, stdafx.* and targetver.* etc. should not go into this library,
> since they are to be used by VC project only.
> I guess they have to go to EXTRA_DIST.
> and, if I put tiny*.cpp to ..._SOURCES, the content in them will be exposed
> in the library, right, which is not what i wanted? I only want them to be
> linked, but not exported. Under windows VC, I can specify which items to be
> exported, but using AutoMake, I donno how.
> did not expect to receive a response so quick. thank you very much.

In Linux, all symbols are exported by default, whereas in Windows, you
must somehow indicate which symbols you want to export, using either
__declspec(export), or a .def file.

In Linux/Unix you can specify exports on a more granular level, but it's
a fair amount of work to do so, and it depends on what you mean by
"export", because there are about 3 different levels of "export". Check
out the man page for gcc - search for the keyword, "export".

Note also that these options are NOT portable. Some compilers and
linkers simply don't give you the option of such granularity.

Regards,
John



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFIT+FJdcgqmRY/OH8RAiIwAJ9qDx21t+vsWx56lxUEN+X+jM6ClgCfdBC6
LP9Ee7eCqnLKZGhIqIAG7/I=
=Zlof
-----END PGP SIGNATURE-----




reply via email to

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