Hi, all.
I'm trying to install gpc on a new machine. I've used it for years, but somehow this new installation is giving me fits. So I've got some nice GPC programs, but no way to modify them - and deadlines creeping up!
I'd like to work under PENG, but for now I'm just working on the command line. But it isn't going so well:
When I type gpc --automake -g -v diffus12.pas, I get a nice screenful of messages, then eventually gpc1.exe reports: module 'grx20' could not be compiled.
but when I try to compile grx20.pas independently, I get a different message, this time from ld.exe: cannot open linker script file djgpp.djl: no such file or directory (ENOENT)
and sure enough, in the specs file, it shows that ld should get a string -Tdjgpp.djl, but there is no such file (djgpp.djl) on my computer, or in the manifest lists, or indeed anywhere I could find on the entire internet!
So obviously a lot of pieces are working well, but some not.
I am using GPC 2.8.1, just downloaded a month ago from the GPC home, and compiled with GCC 2.8.1. Other information available upon request, though it would help if I knew how to redirect StdOut to a file in DOS - so far my attempts aren't working.
I'd appreciate any help... Toby
"Robert P. Ewing" a écrit :
and sure enough, in the specs file, it shows that ld should get a string -Tdjgpp.djl, but there is no such file (djgpp.djl) on my computer, or in the manifest lists, or indeed anywhere I could find on the entire internet!
If you have consistently downloaded what is in the gnu-pascal/djgpp tree you should have two copies of the djgpp.djl and specs files in the lib and the lib/gcc-lib/djgpp/2.81 directories, and, IIRC, you should delete/rename the ones contained in the lib directory (better rename to be able to experiment: not move, they may be different).
But all this stuff is pretty old now. gcc281 is no more contained is the official djgpp distribution on simtelnet and its mirrors. specs and djgpp.djl have changed several times position/contents (this is why I cannot be sure): in the present distribution (djdev203 gcc2952) djgpp.djl is in the lib directory and specs in the lib/gcc-lib/djgpp/2.952 directory ! If you do not succeed rapidly to make things work you should consider to build an entirely new djgpp tree, using the zip picker and automatic install of djgpp. You can find then the last gpc binary I have built (with gcc-2.952) on agnes, in the /home/maurice directory, as well as grx232s.zip which contains updated/corrected versions of grx20.pas and bgi2grx.pas. You can also build new snapshots yourself if you install a very complete djgpp setup, using buildgpc.bat and build_gpc_djgpp.diff contained in the same directory.
Hope this helps.
Maurice