January 15, 2002 Re: Viewing symbols | ||||
---|---|---|---|---|
| ||||
Posted in reply to Greg Comeau | "Greg Comeau" <comeau@panix.com> wrote in message news:a1ulik$o2a$1@panix3.panix.com... > In article <a1tdh8$anv$1@digitaldaemon.com>, > Walter <walter@digitalmars.com> wrote: > >"Greg Comeau" <comeau@panix.com> wrote in message news:a1sv6n$oou$1@panix3.panix.com... > >> In article <a1sgg6$2qor$1@digitaldaemon.com>, > >> Walter <walter@digitalmars.com> wrote: > >> >I wrote libunres so long ago I don't remember if it works on .obj files! > >> > >> It seems to. I don't seem to be able to get COMDEF's emitted in a list from it though. Any thoughts? > > > >I think comdef's are newer than the utility <g>. > > Any chance of making the utility newer than comdef's then? :) And also letting one output combo's of the different sections? I know I know... easy for me to ask... I'm curious - what would it be used for? |
January 15, 2002 Re: Viewing symbols | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | In article <a1vs4t$1t9k$1@digitaldaemon.com>, Walter <walter@digitalmars.com> wrote: >"Greg Comeau" <comeau@panix.com> wrote in message news:a1ulik$o2a$1@panix3.panix.com... >> In article <a1tdh8$anv$1@digitaldaemon.com>, >> Walter <walter@digitalmars.com> wrote: >> >"Greg Comeau" <comeau@panix.com> wrote in message news:a1sv6n$oou$1@panix3.panix.com... >> >> In article <a1sgg6$2qor$1@digitaldaemon.com>, >> >> Walter <walter@digitalmars.com> wrote: >> >> >I wrote libunres so long ago I don't remember if it works on .obj files! >> >> >> >> It seems to. I don't seem to be able to get COMDEF's emitted in a list from it though. Any thoughts? >> > >> >I think comdef's are newer than the utility <g>. >> >> Any chance of making the utility newer than comdef's then? :) And also letting one output combo's of the different sections? I know I know... easy for me to ask... > >I'm curious - what would it be used for? We put out special names tell the Comeau template instantiation mechanism what to do. W/o seeing the names, it assumes no template instantiation is necessary. -- Greg Comeau What's next: additional Windows backends and 'export'! Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you tried it? |
January 15, 2002 Re: Viewing symbols | ||||
---|---|---|---|---|
| ||||
Posted in reply to Greg Comeau | "Greg Comeau" <comeau@panix.com> wrote in message news:a20b50$k1f$1@panix3.panix.com... > In article <a1vs4t$1t9k$1@digitaldaemon.com>, > Walter <walter@digitalmars.com> wrote: > >"Greg Comeau" <comeau@panix.com> wrote in message news:a1ulik$o2a$1@panix3.panix.com... > >> In article <a1tdh8$anv$1@digitaldaemon.com>, > >> Walter <walter@digitalmars.com> wrote: > >> >"Greg Comeau" <comeau@panix.com> wrote in message news:a1sv6n$oou$1@panix3.panix.com... > >> >> In article <a1sgg6$2qor$1@digitaldaemon.com>, > >> >> Walter <walter@digitalmars.com> wrote: > >> >> >I wrote libunres so long ago I don't remember if it works on .obj files! > >> >> > >> >> It seems to. I don't seem to be able to get COMDEF's emitted in a list from it though. Any thoughts? > >> > > >> >I think comdef's are newer than the utility <g>. > >> > >> Any chance of making the utility newer than comdef's then? :) And also letting one output combo's of the different sections? I know I know... easy for me to ask... > > > >I'm curious - what would it be used for? > > We put out special names tell the Comeau template instantiation mechanism what to do. W/o seeing the names, it assumes no template instantiation is necessary. Ok. It helps to know what the problem is, so the solution will be the right one! |
January 15, 2002 Re: Viewing symbols | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | In article <a20b5r$26pg$1@digitaldaemon.com>, Walter <walter@digitalmars.com> wrote: >"Greg Comeau" <comeau@panix.com> wrote in message news:a20b50$k1f$1@panix3.panix.com... >> We put out special names tell the Comeau template instantiation mechanism what to do. W/o seeing the names, it assumes no template instantiation is necessary. > >Ok. It helps to know what the problem is, so the solution will be the right one! Name encoding details aside, we output something like this: char vector_int_can_be_instantiated; We then look for these, and determine which object files will "own" that instantiation, since many may request it. This analysis is done program-wide, and then the instantiations are distributed. But we can't seem to get the id name. If used as above, the utility won't output it. If we = 0 it, then I recall it will get output, however, if it's in multiple source files, then a duplicate definition occurs. If we extern it, I recall we can also see it, but then an unrevolved reference error occurs. -- Greg Comeau What's next: additional Windows backends and 'export'! Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you tried it? |
Copyright © 1999-2021 by the D Language Foundation