tech-toolchain archive

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

Re: "Fixing" new ld(1) DT_NEEDED handling



On 11 Oct, 2013, at 10:22 , Martin Husemann <martin%duskware.de@localhost> 
wrote:
>       cc -Wall -Wl,--copy-dt-needed -O2 test.c -lcurses

What about

        cc -Wall -Wl,--copy-dt-needed -static -O2 t1.c -lcurses

?  Hiding the actual library dependencies can be inconvenient, if you
need to know them it is better if they are documented in the Makefile
you already have.

Dennis Ferguson


Home | Main Index | Thread Index | Old Index