Alejandro Villarroel a écrit:
Since a few monthes there is an installation program for djgpp which can do most of the work automatically. Go to your nearest simtelnet mirror (I use the one contained in ftp.jussieu.fr, but there are mirrors all around the world). Goto to the subdirectory simtelnet/gnu/djgpp/v2, and download the install.exe program into some temporary directory e.g. c:\tempo. Then run c:\tempo\install.exe. Il will autoextract four files lbinstdj.exe, lbinstdj.txt nonumtl.reg and unzip.exe. The lbinstdj.txt file contains instructions. Basically you will have to put in some temporary directory (which can be also c:\tempo) all your compressed files, except for the three grx23 files (which do not follow the djgpp directory scheme, and which you will have to extract and install manually afterwards). Then run lbinstdj.exe. It will ask to you what is your temporary directory (c:\tempo), what is the name of the directory in which you want to install all the stuff (default c:\djgpp). If you are running in a win95 dos box it will ask you whether you want to modify the windows registry. This is necessary if you want to be able to run under plain dos (not only in a w95 dos box). See the paragraph 22.18 of the djgpp faq for explanations. Then lbinstdj will properly unpack everything contained in c:\tempo with the correct directory structure (taking into account long file names if you are under w95), update autoexec.bat and if necessary the w95 registry. In principle you are then ready to run after rebooting. In fact you should manually delete two files: specs and djgpp.djl, which are contained in the c:\djgpp\lib directory (which are superseded by newers with same names contained in c:\djgpp\lib\gcc-lib\djgpp\2.81 that you must keep). Then you should create a personal tree starting e.g. at c:\myprogs in which you put all your programs in separate directories. It is best to keep completely independant the c:\djgpp tree and the c:\myprogs tree, in case you will have to make a major change in djgpp. With all this done you will never have to move files between directories to run properly. They are all at the correct place. Look carefully at this structure because you will afterwards very probably have to install other packages, update etc..., and will no more use this install program. But you probably should keep the unzip program which is contained in this install program, it is stand alone and takes properly into account the long file names problems. Hope this helps Maurice