Couperin a écrit :
Le 13 Juillet 2000, à 13:35, Maurice Lombardi a écrit:
Viktor Kuznetsov a écrit :
Do I need to do something this to make _binary distribution_ to work? Or it's related only to building the compiler itself?
No it's a fully functional binary distribution. It supposes only that the corresponding binaries for gcc (gcc2952b.zip) have also been installed.
Maurice
I tried to upgrade my old GPC and GCC (2.8.1 versions). I removed entirely the content of the DJGPP directory. I downloaded gcc2952b.zip from Simtel (and a lot of new DJGPP stuff, accordingly to the zip-picker page) and ftp://agnes.dida.physik.uni-essen.de/home/maurice/gpc-20000707-i586-pc- msdosdjgpp-v203.zip. I only installed the binaries but it doesn't work properly (I can't compile some ancient files and I can't install the Pascal files of GRX232).
Then, I guess I have to recompile GCC but how to do this under MS-DOS (Windows 98) ? I downloaded GCC sources and bsh203b.zip but do I need some more tools ?
acnf amake bsn cprf fil find flx gwk grep gzp m4-14 pat sed shl tar txi txt You can found an updated patch to recompile, together with more recent binaries in the directory ftp://agnes.dida.physik.uni-essen.de/maurice The diff files contains instructions at its beginning
I worry about those ancient files that I don't find in gpc-20000707-i586-pc-msdosdjgpp-v203.zip : pc.exe, epc.exe, bpc.exe, gpc-cpp.exe. Are they no more needed ?
pc epc bpc where aliases for gpc, and they have been dropped. gpc-cpp.exe has been replaced by gpcpp.exe. You need to change accordingly your djdev.env file. This may explain some of your failures. But the main point is to upgrade gcc first. To remove properly gcc 2.8.1 type (in the djgpp base directory)
rm -f @manifest\gcc281b.mft
always remove properly an old distribution before installing a new. Files which remain otherwise may cause troubles.
Previously, I had libcurso.a in the /lib directory and it seems the Crt unit needed it. Is it the same now ? (I installed PDCurses 2.4 but it doesn't produce a libcurso.a file)
djgpp gives now a new version of Curses2.4 which is different from the one which is used with gpc, and present on agnes. In particular names of the libraries have changed. Use the version on agnes until consistency will be back. same problem with gmp. The new gmp 3 is incompatible with the gmp 2.2 used by gpc for a stupid reason: all names in the library have been prepended by a g. It is probably only necessary to update accordingly the interface gmp.pas
Hope this helps
Maurice