Rod Evans <Rod.Evans at sun.com> writes: > The compiler engineers have also asked for a means of selecting between a > family of functions contained within the same dynamic object. Each family > member is compiled differently to use various capabilities, where these > capabilities can be provided by different systems.
Not this case, but how is one supposed to use this directly from the compiler/assembler without linker mapfiles? Might be interesting to add support to GCC in the future. A couple of other questions: * You're currently using v1 mapfile syntax in the LLM excerpt. I suppose this is because this case requests patch/micro binding, but it should state the v2 syntax, too. * In the example on p.76 of the LLM, what happens if the machine provides e.g. both MMX and SSE. Which instance of foo will be used in this case? I suppose there is a similar ordering like the one described on p.380 (descending order of capability values), but is this supposed to be documented or implementation defined? * Does LD_CAP_FILES match the file names of shared objects, or their SONAMEs, exact or substring match? Thanks. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University