From: Scott McConnell <scott.mcconnell@seakr.com>
To: gcc-help@gcc.gnu.org
Subject: GCC/GNAT 4.0.0 and latter configuration/installation problem or bug.
Date: Mon, 11 Jul 2005 13:19:00 -0000 [thread overview]
Message-ID: <200507110719.30589.scott.mcconnell@seakr.com> (raw)
For 4.0.0 and latter libgnat and libgnarl are static in my
links. In the Mandrak distribution of 3.4.3 the libraries are
shared. It appears they created a patch to make this happen.
http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/SPECS/gcc/gcc35-ada-link.patch
Will this patch/fix be incorporated into gcc?
Have I configured or installed incorrectly? (See below)
Thanks,
Scott
--------------------------------------------------------------------------
[smcconne@smcconne test]$ echo $PATH
/home/smcconne/gcc/cvs/install/bin:/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/lib/jre-1.4.2_07/bin:/home/smcconne/bin
[smcconne@smcconne test]$ echo $LD_LIBRARY_PATH
/home/smcconne/gcc/cvs/install/lib:/home/smcconne/gcc/cvs/install/lib/gcc/i686-pc-linux-gnu/4.1.0/adalib
[smcconne@smcconne test]$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/home/smcconne/gcc/cvs/install
--mandir=/home/smcconne/gcc/cvs/install/man
--infodir=/home/smcconne/gcc/cvs/install/info --enable-shared
--enable-languages=c,ada --disable-nls
--disable-checking--enable-threads=posix
Thread model: posix
gcc version 4.1.0 20050708 (experimental) **** This same issue is in 4.0.0
****
[smcconne@smcconne test]$ ldd task_demo_08.sam
linux-gate.so.1 => (0xffffe000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7fc4000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7fba000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7e90000)
/lib/ld-linux.so.2 (0xb7fec000)
[smcconne@smcconne test]$ ls -l task_demo_08.sam
-rwxr-xr-x 1 smcconne users 737947 Jul 7 14:03 task_demo_08.sam*
------------------------------------------------------------------
GCC that came with Mandrake
[smcconne@smcconne test]$ gcc -v
Reading specs from /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/specs
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --disable-checking --enable-long-long
--enable-__cxa_atexit --enable-clocale=gnu --disable-libunwind-exceptions
--enable-languages=c,c++,ada,f77,objc,java --host=i586-mandrake-linux-gnu
--with-system-zlib
Thread model: posix
gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
[smcconne@smcconne test]$ ldd task_demo_08
linux-gate.so.1 => (0xffffe000)
libgnarl-3.4.so.1 => /usr/lib/libgnarl-3.4.so.1 (0xb7fab000)
libgnat-3.4.so.1 => /usr/lib/libgnat-3.4.so.1 (0xb7de2000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7dd0000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7dc7000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7c9d000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7c7a000)
/lib/ld-linux.so.2 (0xb7fec000)
smcconne@smcconne test]$ ldd task_demo_08
linux-gate.so.1 => (0xffffe000)
libgnarl-3.4.so.1 => /usr/lib/libgnarl-3.4.so.1 (0xb7fab000)
libgnat-3.4.so.1 => /usr/lib/libgnat-3.4.so.1 (0xb7de2000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7dd0000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7dc7000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7c9d000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7c7a000)
/lib/ld-linux.so.2 (0xb7fec000)
[smcconne@smcconne test]$ ls -l task_demo_08
-rwxr-xr-x 1 smcconne users 27879 Jul 8 07:01 task_demo_08*
reply other threads:[~2005-07-11 13:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200507110719.30589.scott.mcconnell@seakr.com \
--to=scott.mcconnell@seakr.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).