The R Project SVN R

Rev

Rev 48915 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 48915 Rev 51157
Line 21... Line 21...
21
   psignal.[ch])
21
   psignal.[ch])
22
 
22
 
23
 - MinGW gcc 4.2.1 supports pthreads, but I left that undefined.
23
 - MinGW gcc 4.2.1 supports pthreads, but I left that undefined.
24
 
24
 
25
Also, watch out for versions of the header files.  For example,
25
Also, watch out for versions of the header files.  For example,
26
<strings.h> was in mingw-runtime-1.2 and later, but not in the
26
<strings.h> was in mingw-runtime-1.2 and later, but not (long ago) in
27
Mingw-1.1 bundle.  These days we insist on a current MinGW.
27
the mingw-1.1 bundle.  These days we insist on a current MinGW.
28
 
28
 
29
BDR 2002-04-15, 2003-02-10, 2004-06-28, 2005-11-25, 2006-07-06, 2007-08-09, 
29
BDR 2002-04-15, 2003-02-10, 2004-06-28, 2005-11-25, 2006-07-06, 2007-08-09, 
30
    2009-07-08
30
    2009-07-08
31
 
31
 
32
 
32
 
Line 43... Line 43...
43
See the directory R-Tcl-win in the R-packages SVN repository.
43
See the directory R-Tcl-win in the R-packages SVN repository.
44
 
44
 
45
 
45
 
46
4) Linking to DLLs.
46
4) Linking to DLLs.
47
 
47
 
48
Mingw's ld.exe takes the internal name of the DLL as the object to
48
MinGW's ld.exe takes the internal name of the DLL as the object to
49
link to, and hence for DLLs which are to be linked to (rather than
49
link to, and hence for DLLs which are to be linked to (rather than
50
loaded), the internal names need to be dllname.dll.  This was not being
50
loaded), the internal names need to be dllname.dll.  This was not being
51
done by the %.dll rule used in 2.2.1, which builds via a .def file
51
done by the %.dll rule used in 2.2.1, which builds via a .def file
52
with first line
52
with first line
53
 
53
 
Line 305... Line 305...
305
make
305
make
306
gcc -shared  .libs/iconv.o .libs/localcharset.o .libs/relocatable.o \
306
gcc -shared  .libs/iconv.o .libs/localcharset.o .libs/relocatable.o \
307
  .libs/iconv-exports.o -export-all-symbols -o Riconv.dll
307
  .libs/iconv-exports.o -export-all-symbols -o Riconv.dll
308
 
308
 
309
We now use a modified version of win-iconv, but the libiconv version
309
We now use a modified version of win-iconv, but the libiconv version
310
can still be use by replacing bin/Riconv.dll.
310
can still be used by replacing bin/Riconv.dll.
311
 
311
 
312
 
312
 
313
BDR 2009-02-08
313
BDR 2009-02-08