]> git.lyx.org Git - lyx.git/blob - README.Win32
newbindist target
[lyx.git] / README.Win32
1 ================================================================
2 README for Win32 by Ruurd Reitsma (R.A.Reitsma@wbmt.tudelft.nl)
3 ================================================================
4
5 Lyx has been ported to Win32 using the Cygwin environement. The port
6 consists of a few small tweaks to deal with DOS-style pathnames, so
7 LyX can use Win32 TeX distros like fptex and MiKTeX. There's also a
8 cygwin TeTeX port, but the native Win32 ports have a definite speed
9 advantage. Besides that, nothing fancy.
10
11 The prerequisites are (obviously?):
12
13 * cygwin installation (http://www.cygwin.com/). 
14 * decent X server; eXceed, X-Win32, or maybe even Cygwin/XFree86.
15 * working TeX installation; fpTex, MikTex.
16
17 It should compile out of the box, but there might be some libraries
18 missing in the final link step. You'll have to add them to the Makefile
19 by hand. Be sure to include -lregex, because cygwin's builtin regex is
20 sortof weird (filedialogs will turn up empty...)
21
22 If you want to run lyx with no console windows open, there's a small
23 program in development/Win32 that will set the proper environment vars
24 and start lyx.
25
26 Compile with:
27
28 gcc lyxwin32.C -O2 -o lyxwin32 -static -Wall -Wno-format \
29 -Wstrict-prototypes -Wmissing-prototypes -mwindows -e _mainCRTStartup
30
31 Also make sure the latex binaries are in your Windows path. Windvi and
32 Yap are auto detected, and you might want to make a symlink to Adobe
33 Acrobat so it's detected too:
34
35 ln -s //c/Program\ Files/adobe/Acrobat\ 4.0/Reader/AcroRd32.exe \
36 /usr/bin/acroread
37
38 Many thanks to Steven van Dijk, Claus Hentschel and Miyata Shigeru for
39 starting the porting business.