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 gue
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
/usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-
be
wiser though to remove the need for lib*-4.3.a files entirely.
Workaround is to create the symbolic links by hand.
Best regards,
Kay Hayen
-- System Information:
Debian Release: 5.0
APT prefers testing
APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.2
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.
&g
lib/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:
5 matches
Mail list logo