This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[3.1 branch] Ada installation problems
- From: Matthias Klose <doko at cs dot tu-berlin dot de>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 15 Apr 2002 10:37:15 +0200
- Subject: [3.1 branch] Ada installation problems
Probably off topic for this list, but ... trying to get Ada to work on
i386-linux:
- all the Ada tools are linked against the static libgnat library,
although gcc is configured with --enable-shared.
- trying to use the installed compiler (/usr/lib/gnat contains all the
gnat tools and the gcc symlink), the shared libgnat library is used,
but missing symbols from libiberty (which is not built as a shared
library).
$ PATH=/usr/lib/gnat:$PATH gnatmake -v conftest.adb
GNATMAKE 5.00w (20010924) Copyright 1995-2001 Free Software Foundation, Inc.
"conftest.ali" being checked ...
End of compilation
"conftest" missing.
gnatbind -x conftest.ali
gnatlink conftest.ali
/usr/lib/gcc-lib/i386-linux/3.1/adalib//libgnat.so: undefined reference to `xstrdup'
collect2: ld returned 1 exit status
gnatlink: cannot call /usr/lib/gnat/gcc
gnatmake: *** link failed.