tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: binutils 2.39 vs old unix ar(1)



Valery Ushakov writes:
> On Mon, Jan 16, 2023 at 08:41:25 +1100, matthew green wrote:
>
> >        l   Specify dependencies of this library.  ...
> [...]
> >            For example L "-L/usr/local/lib -lmydep1 -lmydep2"
>
> Is it 'l' or 'L'?

i think this 'L' is a typo.  it's 'l'.  i was able to
change the "ar clq" to continue to take the 'l' flag
when i wrote it like:

   ar cql' '

the normal "clq" ends up trying to use 'q' as a dep (what does
a dep in a .a file mean?  there's a new --record-libdeps that
is the same as 'l', but the docs don't really talk about what
it means beyond the basic guess.)


.mrg.


Home | Main Index | Thread Index | Old Index