summaryrefslogtreecommitdiff
path: root/support/aspell/w32/aspell-0.50.4.1-vc++.txt
blob: 14c4fd801e8ec804c248afd7cda9d32147937c92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
######################################################################

ASPELL 0.50.4.1 on WIN32
------------------------

This patch will allow Aspell 0.50.4.1 to compile with the VC++
compiler in VisualStudio 6.

All of the changes are wrapped by #ifdef WIN32PORT/#else/#endif, so
that they are very easy to spot.

There are some extra files that are necessary to build under VC++, and
most notable amongst the changes are that methods in DLLs (the Win32
equivalent of shared objects) must be specially decorated to be seen
outside of the DLL.  The ASPELL_API macro was used for this.

The diffs were based on the earlier diffs to 0.50.2 by Francois
Boudreau <fboudreau@accentus.ca>.

This patch produces both aspell.dll and aspell.lib, as well as
aspell.exe and acompress.exe (renamed from compress.exe to avoid
collision with a similarly-named Win32 utility).

This Win32 port was done by Tony Lavinio of PSC Labs, with help from
Ivan Pedruzzi.  We turn all rights to our changes back over to Kevin
Atkinson.

To use this port:
- Create a directory (we'll call it 'aspell')
- Unzip the aspell-0.50.4.1-win32-src.zip file.
  (Alternately, you can start with aspell-0.50.4.1, and apply the
  patch file provided, and then copy over the missing files from the
  .zip file, but that's just a lot of busy work.)
- You can save time building by unpacking the
  aspell-0.50.4.1-win32-bin.zip file.

The dictionaries can be built from the .cwl files by using the line
  acompress d <xx.cwl | aspell -lang=xx create master xx.rws


######################################################################

ASPELL 0.50.2 on WIN32
----------------------

This patch should allow Aspell to compile with VC++.  The changes were
submitted to by Francois Boudreau <fboudreau@accentus.ca>:

  It's a bit of a mess, we were not very consistent in our editing. We
  went for the quickess fix, so a few things were just disabled, like
  file locking and locales. And we had to remove a few const.

I, the author of Aspell, do not even know if it will work or the other
steps needed to get Aspell to compile under Win32.  If you have
problems with this patch please contact Francois Boudreau
<fboudreau@accentus.ca> and not me since I do not have a copy of VC++
and in general dislike Microsoft Windows.

Kevin Atkinson

######################################################################