Why can't gnatmake find default adainclude/adalib path?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We have gcc-3.4.3 installed in /opt/TWWfsw/gcc343. I have:
  /opt/TWWfsw/bin/gcc -> /opt/TWWfsw/gcc343/bin/gcc
  /opt/TWWfsw/bin/gnatbind -> /opt/TWWfsw/gcc343/bin/gnatbind
  /opt/TWWfsw/bin/gnatlink -> /opt/TWWfsw/gcc343/bin/gnatlink
  /opt/TWWfsw/bin/gnatmake -> /opt/TWWfsw/gcc343/bin/gnatmake

If I try to build a .adb file with gnatmake, it looks for adainclude
in /opt/TWWfsw/lib/gcc/sparc-sun-solaris2.8/3.4.3, not
/opt/TWWfsw/gcc343/lib/gcc/sparc-sun-solaris2.8/3.4.3. Why?

I know I can "fix" this with --RTS or
ADA_INCLUDE_PATH/ADA_OBJECTS_PATH. However, it seems gnatmake and
friends should look for the default adainclude/adalib in the directory
where gcc was installed, not some path relative to where they are
being run from.

What's odd is that if I create the above links in /tmp/t, everything
works.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux