Mail Archives: djgpp-workers/2001/12/03/12:28:19
On Mon, 3 Dec 2001, Hans-Bernhard Broeker wrote:
> > > A similar trick may still work: provide a dummy libc_p.a in djdev204,
> > > and the real one in djpro204 or whatever we call it.
> >
> > Why bother?
>
> Because we probably should avoid end users having to edit spec files. At
> almost all costs. And overriding the specs file by a djpro204
> installation sounds like a FAQ or worse waiting to happen. So a single
> specs file but two copies of libc_p.a might be a way out of that.
>
> > We support this today, without any changes and without any dummy
> > libraries.
>
> Do we? Of course, the knowledgeable user could just remember to manually
> put -lc_p at the end of his link line.
There's a misunderstanding here, I think: the change you suggested for
specs allows one to link with -pg without having libc_p.a. But we
already support this today, since linking with -pg uses libc.a. Linking
with -profile isn't supported today, but will also be unsupported with
your change, since libc_p.a is not distributed with djdev.
So it seems to me pointless to make that change in specs.
- Raw text -