Some weeks ago, I installed GPC-DJGPP for DOS, I began to read the text files, but I didn't find where to install the compressed files, so I create the dir gpc\bin \lib \include \unit, obviuosly I had many problems. With the help of Peter, I try to force to work,. I decided to restart, I take all the compressed files, and due the have the "same" directory structure (bin, lib, doc, ...) I decide to mix up all the compressed files. But when I used rhide to compile a file and It ask me for some files, these files are: 1 .lib\gcc-lib\djgpp\2.81 gpc-cpp.exe and gpc1.exe 2. (uses gpc,gmp;) lib\gcc-lib\2.81 gpc.pas and gmp.pas 3. lib\ crt0.o When I copied these files into the bin directory, rhide build the exe file.
By the way the compressed files that I mixed up are: RX15B <DIR> 02/07/99 2:03p rx15b README 533 03/05/99 12:01a README RHIDE14B <DIR> 02/07/99 2:03p rhide14b GRX23RME 1ST 3,920 02/05/99 8:02p grx23rme.1st MAK377B <DIR> 02/07/99 2:03p mak377b GRX23FNT <DIR> 02/07/99 2:03p grx23fnt GMP202B <DIR> 02/07/99 2:02p gmp202b GDB416B <DIR> 02/07/99 2:02p gdb416b GCC281B <DIR> 02/07/99 2:01p gcc281b FAQ211B <DIR> 02/07/99 2:01p faq211b DJDEV202 <DIR> 02/07/99 2:01p djdev202 CURSE23B <DIR> 02/07/99 2:00p curse23b BNU281B <DIR> 02/07/99 2:00p bnu281b FILE TXT 0 11/08/99 11:02a file.txt GRX23 <DIR> 02/07/99 2:02p grx23 GPC20BB <DIR> 02/07/99 2:02p gpc20bb DJ202DIF <DIR> 02/07/99 2:01p dj202dif BCCGRX20 <DIR> 02/07/99 2:00p bccgrx20
What I have to do?
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
Maurice Lombardi wrote:
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).
I only have 2 grx23 files: grx23.zip and grx23fnt.zip, what file is missing?
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...
I read the doc file, and It says that it's not necesary to modify the registry in Windows NT, and that's because ?
Thanks in advance for your help.
Alejandro Villarroel a écrit:
I only have 2 grx23 files: grx23.zip and grx23fnt.zip, what file is missing?
I was meaning only the grx23rme.1st
I read the doc file, and It says that it's not necesary to modify the registry in
Windows NT, and that's because ?
I never used NT. I have only seen some comments in the djgpp faq about non availability of long file names in NT. I don't know if it is valid for all, including latest, versions of NT. Probably you should scan all that is said in the djgpp faq about NT before going ahead. Hope this helps Maurice