Hello Ludovic,
You are absolutely right.
Puting the -static only after -largs probably only affects the final
command build by gnatlink, but not enough besides that. Puting it
outside -largs fixed the issue. I can (now) see how of course passing -static
to ld will not be enough.
So I guess
Hello,
I also noted the following:
# locate libgnat | egrep '.a$'
/usr/lib/gcc/x86_64-linux-gnu/4.3/rts-native/adalib/libgnat.a
/usr/lib/gcc/x86_64-linux-gnu/4.3/rts-sjlj/adalib/libgnat-4.3.a
/usr/lib/gcc/x86_64-linux-gnu/4.3/rts-sjlj/adalib/libgnat.a
Hello Ludovic,
Kay Hayen writes:
We are compiling software not necessarily with the system default
compiler, but based on PATH. For that purpose we figure out the
adalib directory of the used compiler, and link against libgnat.so
from there.
Are you trying to set the LD_LIBRARY_PATH
/libgnat-4.3.so -
libgnat-4.3.so.1
-rw-r--r-- 1 root root 5625476 14. Jun 12:40
/usr/lib/gcc/x86_64-linux-gnu/4.3/rts-native/adalib/libgnat.a
For manually compiled gcc installations there is a libgnat.so in that directory.
Thanks in advance,
Kay Hayen
-- System Information:
Debian Release: lenny
4 matches
Mail list logo