2013/4/11 Stephen Kelly <steve...@gmail.com> > Bill Hoffman wrote: > > >> This might also be generally useful for storing an arch triple on linux > >> systems? Can 32 and 64 bit libs be mixed there? > >> > > I don't think they can be mixed anywhere. > > Great, that means this would be a simple string comparison with no need to > parse and extract the info from triples. >
Some more informations on that matter, a 64 bits process cannot access 32bits address space directly (and vice-versa), you need a proxy process for that (example being some 32bits plugins for a 64 bits browser): http://stackoverflow.com/questions/2412893/making-a-64-bit-shared-library-that-dynamically-links-to-a-32-bit-library-on-mac Concerning the possible usage of arch triple for target (lib or exe) built using CMake and how to define it, I think the work done on Debian Multiarch contains interesting discussions and ideas; http://wiki.debian.org/Multiarch So may be TARGET_ARCH should be a triple as well (including in the Windows and OS X case) -- Erk Le gouvernement représentatif n'est pas la démocratie -- http://www.le-message.org
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers