da Silva, Joe wrote:
Well, just an update on my attempts to build GPC 20020410 on Mandrake (based on the SuSE GCC 2.95.3 source archive) ...
I followed the instructions from the web pages verbatim, and as the Chief said, it's "quite straightforward". As far as I could tell, there were no errors in building gpc-20020410, just a warning or two, which AFAIK is "normal" with C programs.
Maybe, maybe not. Without seeing the text of the warnings, it could be anything.
I then ran the test script, expecting this would produce a summary at the end.
What exactly did you do? Simply make, or make pascal.check-long or whatever?
It didn't, so I ran this again but this time I redirected the output to a file. After this, I searched the file for the word "failed" and extracted the following :
TEST bill.pas: ./bill.pas: In main program: ./bill.pas:7: undeclared identifier `Dectobin' (first use in this routine) ./bill.pas:7: (Each undeclared identifier is reported only once ./bill.pas:7: for each routine it appears in.) failed
TEST confarr9.pas: ./confarr9.pas: In main program: ./confarr9.pas:7: undeclared identifier `Test' (first use in this routine) ./confarr9.pas:7: (Each undeclared identifier is reported only once ./confarr9.pas:7: for each routine it appears in.) failed
TEST fjf623.pas: failed: failed 1 2
I had a quick look at the first two "failures", and I am not sure why these would have failed. The Pascal code looked OK, so I suspect the problem might be in the script file, which I will try to decipher a bit later ...
It might be easier to try compiling the programs manually (with `gpc --automake'). If they still fail, the problem is not in the script.
I also invoked GPC to compile a small "hello" program in both Pascal and in C. Both worked, however, the "a.out" file from the Pascal compilation was over 500K, whereas that from the C compilation was about 13K. Is this normal???
Yes, FAQ.
Frank