Laszlo (Laca) Peter wrote, On 10/04/07 20:48:
 > On Tue, 2007-04-10 at 11:14 -0700, Bart Smaalders wrote:
 >>> In another thread about inkscape and its dependence on g++, [1]
 >>> we agreed that the best way is to ship 2 variants of the libs
 >>> and that the g++ variant would go into /usr/gnu.
 >>> An ARC fast track will be needed to allow this particular
 >>> use of /usr/gnu.
 >>>
 >> We would also need to change the search order of the libraries
 >> depending on which compiler was being used.
 >>
 >> What should pkg-config return? The correct answer for C++
 >> libs depends on the compiler being used...
 >
 > We would need to ship 2 sets of .pc files for these libs:
 > /usr/lib/pkgconfig/*.pc would point to /usr/lib, i.e. the lib
 > compiled with Sun Studio CC, and /usr/gnu/lib/pkgconfig/*.pc
 > would point to /usr/gnu/lib, i.e. the g++-compiled lib.
 > You can use PKG_CONFIG_PATH to search /usr/gnu/lib/pkgconfig.

   Wouldn't that be a bit of a mess?

   A few days ago a KDE developer told me that there is some kind of
   binary compatibility between ICC and g++. Wouldn't it make more
   sense to work in that way?

-- 
Greetings, alo.

Reply via email to