On 14 Apr 2004, Gabriel Dos Reis wrote:
"Richard B. Kreckel" <kreckel@ginac.de> writes: [...] | I still do hope that the C++ Committee does see the light some lucky day | and realize that they can do a great favor to the language and its | community by simply demanding that if dependencies form a DAG, then that | DAG shall be established by the linker. AIX seems to do it. Patches for | GNU ld to that effect have been suggested. It's so obviously the correct | thing to do! Rather, they say nothing. The GNU folks then say the order | is determined by the link line. Hahaha! Very funny. I have 855 modules | in CLN. Under no circumstances am I going to manually arrange that link | line. This problem is definitely the most irritating issue of C++. It is | also the issue most insistently dodged by the Standard Committee.
I think that the committee level, the question is what can we do about this without falling into describing a particular implementation.
At the "GNU folks" level, I think the issue is different :-) You said, patches have been suggested for GNU ld, do you have some reference handy?
Bruno, may I ask if you still have that old patch for GNU ld mentioned in the cln/modules.h comment lying around somewhere? If so, it would be interesting to have a look at it and see if it is still useful. Luck -richy. -- Richard B. Kreckel <http://www.ginac.de/~kreckel/>