]> git.lyx.org Git - lyx.git/blob - sigc++/doc/win32
export patch from Dekel
[lyx.git] / sigc++ / doc / win32
1 Libsigc++ compiles and runs under win32 (windows 95 and NT)
2 with the cygwin package available from Cygnus Solutions.
3 (http://sourceware.cygnus.com), Borland Builder 6 or Visual C++ 5.
4
5 Notes for egcs:
6 - A simlink is required from /bin/sh to $(CGYWIN_HOME)/bin/sh
7   for configure to run.
8 - A bug in libtool results in compiling the dll stubs with the 
9   wrong compiler which results in a minor error.  To fix
10   this, a repaired version of ltdll.c is distributed.
11 - The dll fails to compile with libtool >1.2d  as a result of
12   a bug in libtool.  A bug report of this is outstanding. 
13   (use static libraries til fixed)
14
15
16 Notes for Microsoft Visual C++:
17
18 Microsoft Visual C++ does not provide partial specialization of
19 classes at this time which is a requirement for the regular
20 version of the library.  Also it requires the format of the
21 package to be different then that of the standard GNU package.
22 A special distribution is therefore required.
23
24 Two project files for building the library and its tests
25 are located under the win32 directory.  libsigc.dsp builds the
26 shared dll for the library.  wintest.dsp builds a simple
27 test that runs through all the libraries features.  
28
29 Unlike other platforms, VC++ does not support default
30 template arguments properly.  Thus the marshaller for
31 signals (normally hidden) must be explicitly specified.
32 The files distributed with .cc extension require modification.
33
34 (To compile from CVS which uses native Unix .cc extensions
35 you can use the instructions found on
36 http://depc14.gsi.de/hades/msdev-cc-ending.htm)
37
38 Exporting another library using libsigc++ can be 
39 fun because VC++ requires every symbol to appear
40 in the DLL that it uses.  This is a well known problem and
41 is documented in the Microsoft Knowledge Base.  The
42 instructions for exporting libsigc++ are basically the
43 same as those of STL class in Article #Q168958. 
44
45 (http://support.microsoft.com/support/kb/articles/Q168/9/58.ASP)
46