=================================================================== RCS file: /home/cvs/OpenXM_contrib/pari-2.2/Attic/README.WIN,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- OpenXM_contrib/pari-2.2/Attic/README.WIN 2001/10/02 11:16:55 1.1 +++ OpenXM_contrib/pari-2.2/Attic/README.WIN 2002/09/11 07:26:37 1.2 @@ -3,10 +3,10 @@ This file describes the various ways you can run PARI/ WARNING: The only way to have a fully functional GP is to install GNU/Linux. It's a one hour job to install a minimal Linux system from current Linux -distributions. The LILO boot system enables you to have Windows and Linux -coexisting peacefully on your hard drive, so you can have the best of both -worlds. The other solutions all stick to the Windows environment, suffer from -various problems, and are discussed in the rest of this document. +distributions. Dual boot systems (LILO, Grub) enable you to have Windows and +Linux coexisting peacefully on your hard drive, so you can have the best of +both worlds. The other solutions stick to the Windows environment, suffer +from various problems, and are discussed in the rest of this document. It is also advised, but not mandatory to get the Documentation and Examples archive @@ -47,12 +47,12 @@ NOTE: all .gz and .ZIP files are compressed files (or This is the preferred solution, but it requires fetching the cygwin compatibility library first. We provide this file as - ftp://megrez.math.u-bordeaux.fr/pub/pari/windows/cygwin/cygwin1.dll.gz + ftp://megrez.math.u-bordeaux.fr/pub/pari/windows/cygwin1.dll.gz (size: 268k, 600k uncompressed). It needs to be downloaded only once. Then fetch the GP binary - ftp://megrez.math.u-bordeaux.fr/pub/pari/windows/cygwin/gp-xxx.exe.gz + ftp://megrez.math.u-bordeaux.fr/pub/pari/windows/gp-xxx.exe.gz and put it in the same directory as the dll (or dump the dll somewhere in your PATH, as you prefer). @@ -61,83 +61,14 @@ PROBLEMS: * no hi-res plots, most graphics commands disabled (you can still output to a PostScript file) -NOTE: you might wish to download the full cygwin distribution from -http://sources.redhat.com/cygwin/ [ the Download and Installation process is -automated and quite simple, you should be home in a few mouse clicks... -provided your internet connection is good enough. ]. It provides a neat -gcc-based development environment under Windows, under which most Unix -packages can easily be ported. In particular you will be able to build GP -from the generic (unix) sources. +NOTE: if you're interested in a Unix-style development environment under +Windows, you might wish to download the full cygwin distribution from + http://sources.redhat.com/cygwin/ +You will then be able to build GP from the generic (unix) sources [ using the +standard './Configure; make' idiom ] +%%%%%%%%%%%%% Solution 2: Build GP from sources %%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%% Solution 2: The native (mingw) binary %%%%%%%%%%%%%%%%% - -Fetch the GP binary (cross-compiled using the gcc-mingw compiler): -EITHER - - ftp://megrez.math.u-bordeaux.fr/pub/pari/windows/gp-xxx.exe.gz -(includes readline line-editing, history, keyword completion, facilities) - -OR - - ftp://megrez.math.u-bordeaux.fr/pub/pari/windows/gp-norl-xxx.exe.gz -(doesn't include readline). - -PROBLEMS: - * no hi-res plots, most graphics commands disabled (you can still output to - a PostScript file) - - * doesn't work well when started in a console from a MS-DOS shell: - - on ^C gp quits - - redirecting standard input as in 'gp < file' crashes gp - - SOLUTION: None of these things occur if you start gp by double-clicking - on its icon, as is customary for Windows application. ^C still doesn't - always interrupt computations, but at least it doesn't kill gp. - - * colors don't work (escape sequences printed "as is"). - - * no extended on-line help - - * [readline binary only]: the AltGr key doesn't work. If you have a US - keyboard, you don't care. But if you have, e.g a French keyboard, you - won't be able to produce {}, [], \, ... - - SOLUTION: - create an INPUTRC file for readline (cf user's manual or readline - manual). E.g add a line - - set INPUTRC=C:\INPUTRC.txt (for instance). - - to your AUTOEXEC.BAT. Then create this file, and add lines of the form - - "\M-\\": "\\" (\M stands for ALT or META, \C for CONTROL) - "\M-\[": "[" - - etc... This binds (for readline purposes only, doesn't affect regular - Windows operations) the key sequence on the LHS, to some "meaning" on the - RHS, here an ordinary character. E.g inserting a line - - "a": "b" - - will cause GP to insert a "b" when you type an "a". Depending on your - precise keyboard layout, you may have to fiddle a bit with the keyseq and - replacement text before getting something sensible. - -%%%%%%%%%%%%% Solution 3: The RSX runtime package %%%%%%%%%%%%%%%%%%% - -You can use the GP binary from the archive - - ftp://megrez.math.u-bordeaux.fr/pub/pari/dos/GPBxxx.ZIP - -PROBLEMS: - * no hi-res plots, most graphics commands disabled (you can still output to - a PostScript file). - - * more than twice SLOWER than all the other binaries described here. - -%%%%%%%%%%%%% Solution 4: Build GP from sources %%%%%%%%%%%%%%%%%%% - That is, the generic Unix sources ftp://megrez.math.u-bordeaux.fr/pub/pari/pari.tgz @@ -158,7 +89,7 @@ PROBLEMS: * no hi-res plots, most graphics commands disabled (you can still output to a PostScript file). - * slower than all gcc-compiled binaries (faster than RSX version though). + * slower than gcc-compiled binaries. * no extended on-line help