Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: Jan-Jaap van der Heijden
Subject: Installed Alpha 04/20 - Can't link
Date: 14 May 1997, 12:47:09
On Wed, 14 May 1997, Berend De Schouwer wrote:
>
>
> On Sun, 11 May 1997, Peter Gerwinski wrote:
>
> > 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 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"
I found the error: it's in LIB/SPECS.GPC
This file has somehow survived from djgpp-2.0 days and thus references
"djgpp.lnk" instead of "djgpp.djl", whether you use djgpp v2.01 or not.
The link_command should look like:
*link_command:
%{!c:%{!M:%{!MM:%{!E:%{!S:ld %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} \
%{r} %{s} %{t} %{u*} %{x} %{z}\
%{!A:%{!nostartfiles:%{!nostdlib:%S}}} %{static:}\
%{L*} %D %{T*} %o -Tdjgpp.djl\
%{!nostdlib:-lgcc -lgpc -lm %L -lgcc %{!A:%E}}}}}}}
%{!c:%{!M:%{!MM:%{!E:%{!S:stubify %{v} %{o*:%*} %{!o*:a.out}}}}}}
You're in trouble if you see:
*link_command:
%{!c:%{!M:%{!MM:%{!E:%{!S:ld %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} \
%{r} %{s} %{t} %{u*} %{x} %{z}\
%{!A:%{!nostartfiles:%{!nostdlib:%S}}} %{static:}\
%{L*} %D %{T*} %o -Tdjgpp.lnk\
%{!nostdlib:-lgcc -lgpc -lm %L -lgcc %{!A:%E}}}}}}}
%{!c:%{!M:%{!MM:%{!E:%{!S:stubify %{v} %{o*:%*} %{!o*:a.out}}}}}}
To solve this, you can either use the "specs.gpc" from gpc-2.0 (which
worked a.f.a.i.k.) or save and uudecode this:
>
> 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.
>
I'm not an expert in info files, but isn't the top-node the entry for a
program in the "dir" file?
In that case, try adding GPC, locate the GCC entry:
* GCC: (gcc.inf).
The GNU C, C++, and Objective-C Compiler
And add GPC somewhere, like this:
* GPC: (gpc.inf).
The GNU Pascal Compiler
Hope this helps,
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.
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
| Author | Subject | Date |
|---|---|---|
| Berend De Schouwer | Installed Alpha 04/20 - Can't link | 14 May 1997, 11:17:09 |
Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.
Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.
This page was created by Crystal 0.999 (Linux 2.4.27/i686).