ziane@nuri.inria.fr (ziane mikal @) (04/17/91)
I have big problems with the size of the code produced by SUN and AT&T 2.0 compiler. For a total source size of about 10,000 lines the object code is almost 5Mo long !!! Although we intensively use macros for simulating genericity I doubt that this is the main reason. Only by transforming a few inline functions into non-inline functions we gained 900ko !!! But 4Mo is still too much: the debugger takes 10 minutes to load !! Does anybody know if inline functions have such an impact on the resulting code size ? We used the +d option to avoid inline generation but the code size actually doubled !!! How is it possible ? On the other hand the +e option seems interesting but we have not been able to use it correctly because the linker does not recognizes that the pointers to virtual tables defined in +e0 files actually point on the tables which are initialized in a single +e1 file. The reason is that these pointers are suffixed with the name of their file ! Has anybody successfully used the +e option, and how ? HELP! Thanx in advance. Mikal (Mikal.Ziane@nuri.inria.fr)