linux - What are the dependencies of a FreePascal GUI app written with Lazarus? -
i know freepascal apps linux statically linked. imagine there low-level apis required. gtk gui applications? assume command-line app wouldn't have same dependencies.
where can find way determine lcl classes require underlying apis?
edit: vitaly wanted know found answer.
with small console app: ldd confirmed statically linked executable.
strace more interesting. console-only application showed no open files. guess it's totally self contained.
with simple gui application, ldd showed dynamic linking, , strace's output showed many "open"s.
it'll still take little more research before i'm comfortable this.
since statically linked, kind of dependencies have?..
however can try work out several methods...
ldd <executable>
(just sure binary not dynamically linked)strace <executable> > log.file 2&>1 && cat log.file | grep open
where can find way determine lcl classes require underlying apis?
from point of view, purpose requires hard work. i'd advice try systemtap one.
Comments
Post a Comment