Frank Heckenbach a écrit :
That's strange. I can reproduce the problem under DJGPP with --automake, but it vanishes with --autobuild.
To be sure, please remove all compiled crt*.o and crt*.gpi files once and try again.
Did you try it on the command line, or only under rhide? If it works on the command line, but not in rhide, you'll have to edit rhide's settings (this was discussed on this list some time ago, but if you don't have the mails, I could find them).
If it doesn't work on the command line either, please compile with `-v' (verbose), and send a complete log of the output.
Hi,
I have the same problem. I'm working on about 12 computers, on DOS and on Windows 95, using rhide. I develop pages on the net (in french on http://come.to/abcp) and i recommend gnu pascal, so when a person read my pages and have problems, he write me back :-( . I use gnu pascal since 6 month. At first i was using curse23.zip and i have no problems. For the installation, I first use: unzip386.exe djdev202.zip gcc281b.zip gpc-19990430-i386-pc-djgppv202.zip curse23.zip bnu281b.zip mak377b.zip rhide14b.zip csdpmi4b.zip for the DOS computers Then I kill the two files lib\specs and lib\djgpp.djl, replace the cut names (because unzip386 cuts the long names, sometimes, i use freezip or winzip but i have the same problem with crt) I replace c:\share\rhide\rhide.env in order to have autobuild instead of automake I add lines in djgpp.env in order to have gpc and the messages in french. I add the 2 lines in the autoexec.bat and i reboot.
Like that i have no problem, and when a person have a trouble and ask some help, i always can solve the problem or i don't have any "help me" messages.
Now, the curse23.zip file have disappeared, and i recommend pdcurs24.beta.zip . At first i install pdcurs24 on my pc, and it was working. But i didn't delete all my files before. If i try to install from the beginning, i have the message "curspriv.h: no such file or directory (ENOENT)." with rhide or in line. I try on 9 Pc, it's the same. Like i have no time, because of material problems, i put curse23.zip, and i unzip it, and it was fine.
I receive several messages of others persons, and i say for now, put curse23.zip, and no one call me back.
What we have to do? I send all the file at the end. Note: i don't know how to use -v in gpc, all the messages go on the screen. How can i get them in a file?
* An example with the problem ***********************************************
Program Prueba; Uses Crt; Begin Clrscr; End.
* screen copy in line command ************************************************
C:\djgpp\travail>gpc -v -o pruba.exe --autobuild -g prueba.pas Reading specs from c:\djgpp\lib\gcc-lib\djgpp\2.81\specs gpc version 19990503, based on gcc-2.8.1 c:\djgpp\lib\gcc-lib\djgpp\2.81\gpc-cpp.exe -lang-pascal -v -nocharescape -D__G NU_PASCAL__ -undef -D__GNUC__=2 -D__GNUC_MINOR__=8 -D__GPC__=2 -D__GPC_MINOR__=0 -D__GPC_RELEASE__=19990503 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR =1 -D__OS_DOS__=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D_ _DJGPP_MINOR__=1 -D__OS_DOS__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 -D__BITS_LITTLE_ENDIAN__=1 -D__BYTES_LITTLE_ENDIAN__=1 -D__WO RDS_LITTLE_ENDIAN__=1 -g prueba.pas c:/djgpp/tmp\cccaaaaa GNU CPP version 2.8.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: c:/djgpp/lang/pascal c:/djgpp/include c:/djgpp/contrib/grx20/include /usr/local/include $DJDIR/djgpp/include $DJDIR/lib/gcc-lib/djgpp/2.81/include /usr/include End of search list. c:\djgpp\lib\gcc-lib\djgpp\2.81\gpc1.exe c:/djgpp/tmp\cccaaaaa -quiet -dumpbase prueba.pas -g -version -famtmpfile=c:/djgpp/tmp\ccaaaaaa.gpc -fautobuild -o c:/ djgpp/tmp\ccdaaaaa GNU Pascal version 2.8.1 (djgpp) compiled by GNU C version 2.8.1. GPC AutoMake: c:/djgpp/bin/gpc.exe --autobuild -v -g --amtmpfile=c:/djgpp/tmp\cc aaaaaa.gpc -c c:\djgpp\lib\gcc-lib\djgpp\2.81\units\gpc.pas Reading specs from c:\djgpp\lib\gcc-lib\djgpp\2.81\specs gpc version 19990503, based on gcc-2.8.1 c:\djgpp\lib\gcc-lib\djgpp\2.81\gpc-cpp.exe -lang-pascal -v -nocharescape -D__G NU_PASCAL__ -undef -D__GNUC__=2 -D__GNUC_MINOR__=8 -D__GPC__=2 -D__GPC_MINOR__=0 -D__GPC_RELEASE__=19990503 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR =1 -D__OS_DOS__=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D_ _DJGPP_MINOR__=1 -D__OS_DOS__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 -D__BITS_LITTLE_ENDIAN__=1 -D__BYTES_LITTLE_ENDIAN__=1 -D__WO RDS_LITTLE_ENDIAN__=1 -g c:\djgpp\lib\gcc-lib\djgpp\2.81\units\gpc.pas c:/djgpp/ tmp\cceaaaaa GNU CPP version 2.8.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: c:/djgpp/lang/pascal c:/djgpp/include c:/djgpp/contrib/grx20/include /usr/local/include $DJDIR/djgpp/include $DJDIR/lib/gcc-lib/djgpp/2.81/include /usr/include End of search list. c:\djgpp\lib\gcc-lib\djgpp\2.81\gpc1.exe c:/djgpp/tmp\cceaaaaa -quiet -dumpbase gpc.pas -g -version -famtmpfile=c:/djgpp/tmp\ccaaaaaa.gpc -fautobuild -famtmpfi le=c:/djgpp/tmp\ccaaaaaa.gpc -o c:/djgpp/tmp\ccfaaaaa GNU Pascal version 2.8.1 (djgpp) compiled by GNU C version 2.8.1. c:\djgpp\bin\as.exe -o gpc.o c:/djgpp/tmp\ccfaaaaa GPC AutoMake: done GPC AutoMake: c:/djgpp/bin/gpc.exe --autobuild -v -g --amtmpfile=c:/djgpp/tmp\cc aaaaaa.gpc -c c:\djgpp\lib\gcc-lib\djgpp\2.81\units\crt.pas Reading specs from c:\djgpp\lib\gcc-lib\djgpp\2.81\specs gpc version 19990503, based on gcc-2.8.1 c:\djgpp\lib\gcc-lib\djgpp\2.81\gpc-cpp.exe -lang-pascal -v -nocharescape -D__G NU_PASCAL__ -undef -D__GNUC__=2 -D__GNUC_MINOR__=8 -D__GPC__=2 -D__GPC_MINOR__=0 -D__GPC_RELEASE__=19990503 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR =1 -D__OS_DOS__=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D_ _DJGPP_MINOR__=1 -D__OS_DOS__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 -D__BITS_LITTLE_ENDIAN__=1 -D__BYTES_LITTLE_ENDIAN__=1 -D__WO RDS_LITTLE_ENDIAN__=1 -g c:\djgpp\lib\gcc-lib\djgpp\2.81\units\crt.pas c:/djgpp/ tmp\cceaaaaa GNU CPP version 2.8.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: c:/djgpp/lang/pascal c:/djgpp/include c:/djgpp/contrib/grx20/include /usr/local/include $DJDIR/djgpp/include $DJDIR/lib/gcc-lib/djgpp/2.81/include /usr/include End of search list. c:\djgpp\lib\gcc-lib\djgpp\2.81\gpc1.exe c:/djgpp/tmp\cceaaaaa -quiet -dumpbase crt.pas -g -version -famtmpfile=c:/djgpp/tmp\ccaaaaaa.gpc -fautobuild -famtmpfi le=c:/djgpp/tmp\ccaaaaaa.gpc -o c:/djgpp/tmp\ccfaaaaa GNU Pascal version 2.8.1 (djgpp) compiled by GNU C version 2.8.1. GPC AutoMake: c:/djgpp/bin/gpc.exe --autobuild -v -g --amtmpfile=c:/djgpp/tmp\cc aaaaaa.gpc -v -g --amtmpfile=c:/djgpp/tmp\ccaaaaaa.gpc --amtmpfile=c:/djgpp/tmp\ ccaaaaaa.gpc -c c:\djgpp\lib\gcc-lib\djgpp\2.81\units\gpc.pas Reading specs from c:\djgpp\lib\gcc-lib\djgpp\2.81\specs gpc version 19990503, based on gcc-2.8.1 c:\djgpp\lib\gcc-lib\djgpp\2.81\gpc-cpp.exe -lang-pascal -v -nocharescape -D__G NU_PASCAL__ -undef -D__GNUC__=2 -D__GNUC_MINOR__=8 -D__GPC__=2 -D__GPC_MINOR__=0 -D__GPC_RELEASE__=19990503 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR =1 -D__OS_DOS__=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D_ _DJGPP_MINOR__=1 -D__OS_DOS__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 -D__BITS_LITTLE_ENDIAN__=1 -D__BYTES_LITTLE_ENDIAN__=1 -D__WO RDS_LITTLE_ENDIAN__=1 -g -g c:\djgpp\lib\gcc-lib\djgpp\2.81\units\gpc.pas c:/djg pp/tmp\ccgaaaaa GNU CPP version 2.8.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: c:/djgpp/lang/pascal c:/djgpp/include c:/djgpp/contrib/grx20/include /usr/local/include $DJDIR/djgpp/include $DJDIR/lib/gcc-lib/djgpp/2.81/include /usr/include End of search list. c:\djgpp\lib\gcc-lib\djgpp\2.81\gpc1.exe c:/djgpp/tmp\ccgaaaaa -quiet -dumpbase gpc.pas -g -g -version -famtmpfile=c:/djgpp/tmp\ccaaaaaa.gpc -fautobuild -famtm pfile=c:/djgpp/tmp\ccaaaaaa.gpc -famtmpfile=c:/djgpp/tmp\ccaaaaaa.gpc -famtmpfil e=c:/djgpp/tmp\ccaaaaaa.gpc -o c:/djgpp/tmp\cchaaaaa GNU Pascal version 2.8.1 (djgpp) compiled by GNU C version 2.8.1. c:\djgpp\bin\as.exe -o gpc.o c:/djgpp/tmp\cchaaaaa GPC AutoMake: done GPC AutoMake: c:/djgpp/bin/gpc.exe -v -g -v -g -c c:\djgpp\lib\gcc-lib\djgpp\2.8 1\units\crtc.c Reading specs from c:\djgpp\lib\gcc-lib\djgpp\2.81\specs gpc version 19990503, based on gcc-2.8.1 c:\djgpp\lib\gcc-lib\djgpp\2.81\cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC _MINOR__=8 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1 -D__OS_DOS__=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR__=1 -D__OS_DOS__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR= 1 -g -g c:\djgpp\lib\gcc-lib\djgpp\2.81\units\crtc.c c:/djgpp/tmp\ccgaaaaa GNU CPP version 2.8.1 (80386, BSD syntax) GNU Pascal version 2.8.1 (djgpp) compiled by GNU C version 2.8.1. c:\djgpp\bin\as.exe -o gpc.o c:/djgpp/tmp\cchaaaaa GPC AutoMake: done GPC AutoMake: c:/djgpp/bin/gpc.exe -v -g -v -g -c c:\djgpp\lib\gcc-lib\djgpp\2.8 1\units\crtc.c Reading specs from c:\djgpp\lib\gcc-lib\djgpp\2.81\specs gpc version 19990503, based on gcc-2.8.1 c:\djgpp\lib\gcc-lib\djgpp\2.81\cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC _MINOR__=8 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1 -D__OS_DOS__=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR__=1 -D__OS_DOS__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR= 1 -g -g c:\djgpp\lib\gcc-lib\djgpp\2.81\units\crtc.c c:/djgpp/tmp\ccgaaaaa GNU CPP version 2.8.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: c:/djgpp/include c:/djgpp/lib/gcc-lib/djgpp/2.81/include c:/djgpp/include End of search list. c:\djgpp\lib\gcc-lib\djgpp\2.81\units\crtc.c:36: curspriv.h: No such file or dir ectory (ENOENT) gpc1.exe: c:/djgpp/bin/gpc.exe exited with status 1 GPC AutoMake: done c:\djgpp\lib\gcc-lib\djgpp\2.81\units\crt.pas:408: `c:\djgpp\lib\gcc-lib\ djgpp\2.81\units\crtc.c' could not be compiled gpc1.exe: c:/djgpp/bin/gpc.exe exited with status 1 GPC AutoMake: done prueba.pas:2: module/unit `crt' could not be compiled
C:\djgpp\travail>
* djgpp.env **************************************************************
#= Don't edit this line unless you move djgpp.env outside #= of the djgpp installation directory. If you do move #= it, set DJDIR to the directory you installed DJGPP in. #= DJDIR=%:/>DJGPP%
+USER=dosuser +GROUP=root +TMPDIR=%DJDIR%/tmp +EMU387=%DJDIR%/bin/emu387.dxe +LFN=y +TEXMFMAIN=%DJDIR%/share/texmf LANGUAGE=fr
[bison] BISON_HAIRY=%DJDIR%/lib/bison.hai BISON_SIMPLE=%DJDIR%/lib/bison.sim
[cpp] CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang/cxx;%DJDIR%/include C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include OBJCPLUS_INCLUDE_PATH=%/>;OBJCPLUS_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc OBJC_INCLUDE_PATH=%/>;OBJC_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc
[gcc] COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib
[info] INFOPATH=%/>;INFOPATH%%DJDIR%/info;%DJDIR%/gnu/emacs/info +INFO_COLORS=0x1f.0x31 +INFO_LINES=40
[emacs] INFOPATH=%/>;INFOPATH%%DJDIR%/info;%DJDIR%/gnu/emacs/info
[less] +LESSBINFMT=*k<%%X> +LESSCHARDEF=8bcccbcc12bc5b95.b127.b LESS=%LESS% -h5$y5$Dd2.0$Du14.0$Ds4.7$Dk9.0$ +LESSSEPARATOR=/
[ispell] +ISPELL_HOME=%DJDIR%/lib +ISPELL_DICTDIR=%DJDIR%/lib +ISPELL_COLORS=0x1e.0x74 +LINES=40
[locate] +LOCATE_PATH=%DJDIR%/lib/locatedb.dat
[ls] +LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*~=08:*.bak=08: [dir] +LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*~=08:*.bak=08: [vdir] +LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*~=08:*.bak=08:
[gpc-cpp] C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/lang/pascal;%DJDIR%/include;%DJDIR%/contrib/grx20/include
[gpc] COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib;%DJDIR%/contrib/grx20/lib
[enscript] ENSCRIPT_LIBRARY=%DJDIR%/share/enscript
[bash] PATH=%/>PATH%
[sh] PATH=%/>PATH%
[groff] +GROFF_TMAC_PATH=.;%DJDIR%/share/groff/tmac +GROFF_TYPESETTER=ascii +GROFF_FONT_PATH=.;%DJDIR%/share/groff/font
[eqn] +GROFF_TMAC_PATH=.;%DJDIR%/share/groff/tmac +GROFF_TYPESETTER=ascii
[grodvi] +GROFF_FONT_PATH=.;%DJDIR%/share/groff/font
[grolj4] +GROFF_FONT_PATH=.;%DJDIR%/share/groff/font
[grops] +GROFF_FONT_PATH=.;%DJDIR%/share/groff/font +GROFF_TMPDIR=%DJDIR%/tmp
[grotty] +GROFF_FONT_PATH=.;%DJDIR%/share/groff/font
[indxbib] +GROFF_EIGN=%DJDIR%/share/groff/eign
[lkbib] +REFER=%DJDIR%/share/Ind
[refer] +REFER=%DJDIR%/share/Ind +GROFF_TMPDIR=%TMPDIR%
[troff] +GROFF_TMAC_PATH=.;%DJDIR%/share/groff/tmac +GROFF_TYPESETTER=ascii +GROFF_FONT_PATH=.;%DJDIR%/share/groff/font
[gawk] +AWKPATH=.;%DJDIR%/share/awk
[awk] +AWKPATH=.;%DJDIR%/share/awk
[man] MANPATH=%/>MANPATH%;%DJDIR%/man;%DJDIR%/info PAGER=%DJDIR%/bin/less.exe
* rhide.env **************************************************************** RHIDE_COMPILE_LINK_PASCAL_AUTOMAKE=$(RHIDE_LD_PASCAL) $(RHIDE_LIBDIRS) $(RHIDE_LDFLAGS) -o $(OUTFILE) --autobuild $(RHIDE_GPC_FLAGS) $(SOURCE_NAME) $(RHIDE_LDFLAGS)