This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]