473,387 Members | 1,859 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Toughie! Export all symbols automagically

Is there a way to automagically export all the symbols in a dll?

mingw has an argument --export-all-symbols.

I'm not afraid to write some scripts to do my work, so suggest anything :-)

The use case is running unit tests against a dll without building the unit
tests into the dll itself, as linking times dominate.

Thanks
Jun 6 '07 #1
2 2530

"Sean Connery" <Se*********@discussions.microsoft.comwrote in message
news:6C**********************************@microsof t.com...
Is there a way to automagically export all the symbols in a dll?

mingw has an argument --export-all-symbols.

I'm not afraid to write some scripts to do my work, so suggest anything
:-)
You may be able to extract the list of symbols from each object file using
the lib tool or from the browse information, then create a linker .def file.
>
The use case is running unit tests against a dll without building the unit
tests into the dll itself, as linking times dominate.

Thanks

Jun 6 '07 #2
"Ben Voigt [C++ MVP]" wrote:
>
"Sean Connery" <Se*********@discussions.microsoft.comwrote in message
news:6C**********************************@microsof t.com...
Is there a way to automagically export all the symbols in a dll?

mingw has an argument --export-all-symbols.

I'm not afraid to write some scripts to do my work, so suggest anything
:-)

You may be able to extract the list of symbols from each object file using
the lib tool or from the browse information, then create a linker .def file.
Thanks, that was what I had figured!

/me breaks out the python
Jun 8 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: tirath | last post by:
Hi all, I have a templated class that derives from a non-templated abstract class. How do I then cast a base class pointer to a <templated> derived class pointer in a generalised fashion? ...
3
by: Guadala Harry | last post by:
I have a need to display nodes in a hierarchy - an inverted tree of sorts - but a bit more complicated than a simple tree or set of inverted trees. The nodes I'm dealing with exist in a definite...
9
by: Stimp | last post by:
Hi all, I'm going to be moving my site to a new hosting provider at the end of the month. Can anyone recommend a good windows (.NET) hosting provider? My requirements are as follows: -...
2
by: chernetsov | last post by:
I am creating a server indexing files in my local area network, in order to provide a searching feature. So i want to make it possible to searchsuch rows where the 'name' (VARCHAR) column contains...
51
by: moosdau | last post by:
my code: do { printf("please input the dividend and the divisor.\n"); if(!scanf("%d%d",&dend,&dor)) { temp1=1; fflush(stdin); } else
6
by: jeniffer | last post by:
Please give an example of 2 simple mutually recursive functions in C .
6
by: william.oram | last post by:
Here's a toughie for me. Using the GD library, I want to print a word or string as an image, but with some constant amount of padding around it. The text is not known beforehand. In other words,...
16
hsriat
by: hsriat | last post by:
IDs in the database are saved in the form of abc_001, abc_002 or they may be abc_asd, abc_a12 I run a code to check the highest numerical suffix of the ids. in the above case, it would return 3....
5
by: mandanarchi | last post by:
Bit of a toughie here I think. I use (access 2003) HTTP.send function to open up a php file that's stored on an internal website. The file queries one of our suppliers regarding stock (with xml...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.