LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-30-2007, 05:22 PM   #1
[KIA]aze
Member
 
Registered: Jun 2006
Distribution: Debian, Ubuntu, Windows XP
Posts: 146

Rep: Reputation: 16
Is there an equivalent of nm in Windows?


Is there an equivalent of the "nm" command in Windows?
I need to find out which libraries contain what.

Or would it work if I applied nm from my Ubuntu partition to libraries compiled for Windows?
 
Old 07-30-2007, 09:53 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Visual Studio had a neat GUI tool called "depends", e.g.
"D:\Program Files\Microsoft Visual Studio\Common\Tools\DEPENDS.EXE"

PS:
If you aren't already aware of it, try the *nix tool "ldd" - I think you'll like it!
 
Old 07-31-2007, 03:32 AM   #3
[KIA]aze
Member
 
Registered: Jun 2006
Distribution: Debian, Ubuntu, Windows XP
Posts: 146

Original Poster
Rep: Reputation: 16
Yes, but what I need is more nm.
ldd gives the libraries for an already compiled executable.
I need to compile the executable, but can't figure out exactly which libraries I need.

Right now the error I get is one about SDL_init, SDL_quit, etc.
I know I need some SDL library and I have added some to the linker command but it doesn't work.

I'm using DevC++ to compile.
And I would like to do a name-mangling search on the libraries I currently have in C:\DevCpp\libs.
 
Old 07-31-2007, 06:54 PM   #4
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
From what I recall, Windows 95 had a tool called QuickView or something similar, or maybe not even close. It was available from the right-click menu on a DLL and would show a symbol table. Of course at the time I used it I wondered how to use all of those fancy symbols, having not learned C or C++ yet. I don't recall what other information it displayed, and chances are the man took that tool away in the later, fancier versions of Windows.
ta0kira

edit: I guess I could have searched first. Looks like it's still around for purchase: http://www.avantstar.com/Products/Quick_View_Plus/G_QVP

Last edited by ta0kira; 08-01-2007 at 09:45 AM.
 
Old 08-09-2007, 05:15 AM   #5
deostroll
Member
 
Registered: Aug 2007
Location: Bangalore
Distribution: fedora
Posts: 113

Rep: Reputation: 15
If your idea is a simple text search try
find.exe

Go to command prompt and type help find to know how to use it.
 
Old 08-09-2007, 07:58 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Since nm is part of binutils it should be available with Dev-C++.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the Windows equivalent of the $PATH? ErrorBound General 5 06-19-2007 04:33 PM
equivalent of /etc/projectname/ in windows eantoranz Programming 6 02-10-2007 02:57 PM
Windows equivalent distro redfedora88 Linux - Distributions 24 03-26-2006 03:27 PM
Equivalent to windows Charmap? robertmarkbram Linux - General 2 12-02-2003 06:39 PM
?Iptables equivalent in windows pudhiyavan Linux - Security 1 11-06-2003 10:54 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration