[Coin-discuss] Question about building [Cbc, Clp, etc.] in Visual Studio

Michael Hennebry hennebry at web.cs.ndsu.nodak.edu
Fri Nov 19 11:59:21 EST 2010


On Wed, 17 Nov 2010, Lou Hafer wrote:

> On Wed, 2010-11-10 at 17:26 -0600, Michael Hennebry wrote:
>> [ ... prior discussion of extracting mangled names from object files
>>   to generate a .def file for building DLLs. ... ]
>>
>> Would reading the index of the corresponding static library be easier?
>> for each mangled_name :
>>      if mangled_name in index of static library :
>>          export mangled_name
>>
>
> 	Might well be. I'm unsure what led me to the idea of individual object
> files; likely it was the incremental extension of testing the basic idea
> on a single object file. I'll keep it in mind next time I swing past
> this.  Thanks!

nm -s libfoo.a | grep ' in ' | sed 's/  *in .*$//'
will list the symbols in the index of libfoo.a .
With the right sed command, one doesn't need grep, 
but I picked commands easy for me to think about.

-- 
Michael   hennebry at web.cs.ndsu.NoDak.edu
"Pessimist: The glass is half empty.
Optimist:   The glass is half full.
Engineer:   The glass is twice as big as it needs to be."




More information about the Coin-discuss mailing list