Linking to MinGW's gprof from another compiler

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Linking to MinGW's gprof from another compiler


I'm adding support for MinGW's gprof for a compiler, which already has
Cygwin's gprof support.

The Cygwin version needs to link (-l) to these libraries:
c, cygwin, gcc, gmon, user32, kernel32

>From my experience (adding MinGW GDB support), I subtitute c and cygwin
m, moldname, mingwex, mingw32, msvcrt

But I got linker errors regarding these symbols, so I need to know in which
libraries (or object files) they reside:

I also need to know MinGW equivalent of this symbol (and where it resides):


View this message in context:
Sent from the MinGW - User mailing list archive at

Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at:
MinGW-users mailing list
[hidden email]

This list observes the Etiquette found at
We ask that you be polite and do the same.

Most annoying abuses are:
1) Top posting
2) Thread hijacking
3) HTML/MIME encoded mail
4) Improper quoting
5) Improper trimming
You may change your MinGW Account Options or unsubscribe at: