According to Berend De Schouwer:
On Sun, 11 May 1997, Peter Gerwinski wrote:
I was sure that I am using v2.01, but I re-installed my `djdev201.zip' and `gcc2721b.zip', thus the new Alpha gpc-970510 should definitly (?) be v2.01.
BUT, "gpc -v" says "2.0(2.7.2.1)" and not an alpha version number. Did I install it right? I think so.
Yes, you did. I forgot to set up the alpha version number for djgpp (where it must be done manually.)
gpc2.0 (non alpha) used to work fine.
(* GPC 2.0 was compiled by Jan-Jaap, I think. ;*)
Well, gpc alpha 05/10 still says "ld: can't find djgpp.lnk"
At least I can reproduce the error now by renaming "djgpp.lnk". As a workaround, I am posting my "djgpp.lnk" below; I will try to figure out what is going on here ...
"gcc -v" reports 2.7.2.1 and works. (compiles hello.c ;) /djgpp/manifest has djdev201.mft, so I think I have djgpp v2.01.
Same holds for my system.
I only started using djgpp after 2.01 came out. Is there any other way to find out? (yes, seems like a newbie question ;)
I join you in this question.
I checked my path, and djgpp's ld.exe seems to be the one that gets executed (I also have fpk-pascal, which has an older version). Is there any way I can check version numbers (compared to what?) of these?
My BinUtils are 2.5.2 while README.1ST says that 2.7 is the current version for V2. Perhaps this is the problem?
On a side note: gpc.inf doesn't work (no top node) But gpc.inf and gpc.i1 both reference and contain a top node. I can't see why "info --file gpc.inf" complains...
gcc.inf/gcc.i1 look the same (at least in structure) and work.
Something strange happened to the GPC documentation in that binary distribution, sorry. I recompiled the info documentation on my system, and now it's fine. I will correct this error when I will upload a new binary DJGPP distribution once I will have solved that linking problem ...
According to Jan-Jaap van der Heijden:
To Peter: since this GPC is searching for this obsolete 'djgpp.lnk', I assume you are indeed using v2.0. In that case you'd better upgrade to 2.01 to stop this confusion.
I believed I did, but obviously I didn't do it right. Some hints what I should do or check?
Greetings,
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201] maintainer GNU Pascal [970510] - http://home.pages.de/~gnu-pascal/ [970125]
8< ---- \djgpp\lib\djgpp.lnk -------------------------------------------------
OUTPUT_FORMAT("coff-go32") ENTRY(start) SECTIONS { .text 0x1000+SIZEOF_HEADERS : { *(.text) etext = . ; _etext = .; . = ALIGN(0x200); } .data ALIGN(0x200) : { djgpp_first_ctor = . ; *(.ctor) djgpp_last_ctor = . ; djgpp_first_dtor = . ; *(.dtor) djgpp_last_dtor = . ; *(.data) edata = . ; _edata = .; . = ALIGN(0x200); } .bss SIZEOF(.data) + ADDR(.data) : { *(.bss) *(COMMON) end = . ; _end = .; . = ALIGN(0x200); } }
On Wed, 14 May 1997, Peter Gerwinski wrote:
According to Berend De Schouwer:
On Sun, 11 May 1997, Peter Gerwinski wrote:
I was sure that I am using v2.01, but I re-installed my `djdev201.zip' and `gcc2721b.zip', thus the new Alpha gpc-970510 should definitly (?) be v2.01.
[...]
Well, gpc alpha 05/10 still says "ld: can't find djgpp.lnk"
At least I can reproduce the error now by renaming "djgpp.lnk". As a workaround, I am posting my "djgpp.lnk" below; I will try to figure out what is going on here ...
"gcc -v" reports 2.7.2.1 and works. (compiles hello.c ;) /djgpp/manifest has djdev201.mft, so I think I have djgpp v2.01.
Same holds for my system.
I only started using djgpp after 2.01 came out. Is there any other way to find out? (yes, seems like a newbie question ;)
I join you in this question.
The minimum V2.01 system is: * djdev201 * gcc2721 * bnu27
(I'm not sure running bnu252 or gcc272 is fatal)
From V2 to V2.01, "djgpp.lnk" was renamed to "djgpp.djl"
gcc.exe reads rules from "specs" which was adapted to mention "djgpp.djl" instead of "djgpp.lnk"
Unfortunately, GPC (gpc.exe) reads it's rules from "specs.gpc", which, in Peter's alpha DJ binaries, still referred to "djgpp.lnk"
Since Peter probably installed djdev201 over djdev200, he probably has both "djgpp.lnk" and "djgpp.djl", hence didn't notice the problem.
So, please do _NOT_ rename your djgpp.djl to djgpp.lnk, this only prolongs the confusion. Edit "specs.gpc" to make GPC use djgpp.djl. Get rid of "djgpp.lnk"
Hope this thread is finished now...
JanJaap
--- With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC1925.