
|
[openbeos]
||
[Date Prev]
[12-2007 Date Index]
[Date Next]
||
[Thread Prev]
[12-2007 Thread Index]
[Thread Next]
[openbeos] Re: __declspec and static libraries
- From: "Stefano D'Angelo" <zanga.mail@xxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Tue, 4 Dec 2007 15:23:58 +0100
2007/12/4, Ingo Weinhold <ingo_weinhold@xxxxxx>:
>
> On 2007-12-03 at 21:14:17 [+0100], Stefano D'Angelo <zanga.mail@xxxxxxxxx>
> wrote:
>
> Not that I know much about this, but since no one replied yet...
Issue just solved ;-)
> > do __declspec(dllexport) and __declspec(dllimport) cause problems when
> > used to build/use a static library on Haiku? Should they be removed in
> > such case?
>
> AFAIK the __declspec stuff has no effect on BeOS and Haiku (at least with
> gcc 2.95.3).
The BeBook doesn't seem to agree with you :-)
Look: http://www.beunited.org/bebook/The%20Kernel%20Kit/ImageConcepts.html
> > And does anyone know if using autotools and libtool one should define
> > AC_LIBTOOL_WIN32_DLL on BeOS/Haiku too?
>
> I've no clue what this is, but it doesn't sound right.
Well, basically the __declspec stuff is the same you find on windows,
and the autoconf manual suggests using that macro.
I've done without it, but had to pass -no-undefined to libtool,
otherwise the shared library wouldn't build (inter-library
dependences).
Regards,
Stefano
|

|