b b a écrit:
Hi Maurice,
Thank you for the Answer. The Djgpp is installed on root D./Djgpp as in line 2.
The Pascal code is placed on the adress shown in line one,
D:\DOCUME~1\ADMINI~1\Desktop...\Pascal\INLUPP~1
Should the pascal code be placed at the same place as the Djgpp/bin or is it ok as it is.
This is OK
I checked for the gcc in my Djgpp folder I found one "libgcc.a" in D./Djgpp/lib. Was is this gcc you are refering to ?
yes but it is in the wrong place
Anyway, I typed the commands you gave and got some results. Some of them did not answer. Maybe I typed them wrongly . The DOS result is as following:
D:\Djgpp\bin>gpc --print-search-dirs install: /usr/lib/gcc-lib/go32\2.7.2.1\ programs: /usr/lib/gcc-lib/go32\2.7.2.1;/usr/lib/gcc-lib/go32;/usr/lib/gcc/go3 2\2.7.2.1;/usr/lib/gcc/go32;/usr/go32\bin\go32\2.7.2.1;/usr/go32\bin\ libraries: /usr/lib/gcc-lib/go32\2.7.2.1;/usr/lib/gcc/go32\2.7.2.1;/usr/go32\l ib\go32\2.7.2.1;/usr/go32\lib;/usr/lib/go32\2.7.2.1;/usr/lib/;/lib/go32\2.7.2 .1;/lib/;/usr/lib/go32\2.7.2.1;/usr/lib/
GEEs it is incredibly old. gcc-2.7.2.1 is unsupported since years, and this is the reason of the misplacement of libgcc.a. Better do a completely fresh install of everything. A simple way is to delete all your djgpp tree and go to
It contains a minimal setup to work with gpc under djgpp Download everything in a temporary directory and follow instructions contained in readme.1st to install everything, and then those which will be contained in djgpp\gnu\gcc2953\p\readme.djgpp for gpc specific instructions.
D:\Djgpp\bin>gpc -v Inlupp1.p gpc.exe: Inlupp1.p: No such file or directory (ENOENT) gpc version 2.0(2.7.2.1)
Besides, should I also install gcc ? I only insatlled Djgpp from an Installation disc. I do not know where this other one pp-folder came from ?
Very old installation disk, with a lot of troubles expected under XP ...
Does Djgpp include all neccessery files including gcc ? I thought everything neede was in Djgpp?
djgpp is a whole programming system, with many optional tools and some mandatory. gcc is one of the compilers contained in it, gpc is an other, and there are frequent updates of everything. gpc needs also a version of gcc with the same release number. The recommended stable now is gpc-2.9.5.3 (since 2.7.2.1 there has been a whole 2.8.x series)
Maurice