Couperin wrote:
Typing 'tar -xvzhf \installs\gpc-20000718.tar.gz' in a DOS window (under Windows 98), I got the following message : Cannot redirect input: No such file or directory (ENOENT) tar: Cannot open pipe: Bad file descriptor (EBADF) tar: Error is not recoverable: exiting now (I nstalled tar from tar112ab.zip)
Did you also install `gzip'? It is needed for unpacking `.tar.gz' files.
I had to use Winzip to unzip the files ; I don't know if it's a good idea...
WinZip is not free software. I also do not like its user interface. However, compressing archives with WinZip should work.
The second and last :-( problem was with : 'C:\DJGPP\installs\gnu\gcc-2.952> patch -p1 \installs\build_gpc_djgpp.diff'. After 'Enter' (and waiting for almost 15 mn), nothing seems to happen, no messages on the screen, no sound from the hard drive... no prompt... nothing... I tried to find a djconfig.log : always nothing...
Maybe some files are missing here, too. Have you `textutils' and `fileutils' installed?
You can try to apply the patch manually before running `configure'.
I also tried to install again the binaries : gpc-20000718.i586-pc-msdosdjgpp.zip (and gcc2952b.zip from Simtel).
But when I try to compile 4f_pg.pas (a program to test graphic modes, found in http://abcp.multimania.com/divers/video/vesa.html#depart), I get : 4f_pg.pas:46: pointer domain type undefined 4f_pg.pas:46: parse error before `Asmname' 4f_pg.pas:46: comma missing after identifier `Go32_info_block' 4f_pg.pas:46: parse error before `;' 4f_pg.pas:49: comma missing after identifier `Go32_info_block' 4f_pg.pas:49: parse error before `=' [...]
Here is line 46 of the program : Var Go32_Info_Block: AsmName '_go32_info_block' T_Go32_Info_Block;
The syntax of `asmname' has changed. The new syntax reads:
Var Go32_Info_Block: T_Go32_Info_Block; AsmName '_go32_info_block';
But 'C:\DJGPP\contrib\grx232\pascal>redir -o 1tmp.txt -eo make -f makefile.dj2' gives : gpc -O -c grx20.pas -o grx20.o grx20.pas:252: warning: identifiers should not start with an underscore grx20.pas:252: warning: identifiers should not contain two adjacent underscores grx20.pas:252: warning: identifiers should not end with an underscore grx20.pas:252: type name expected, identifier `__asmname__' given [...]
Same here. These programs should be adapted to the new `asmname' syntax.
Hope this helps,
Peter