Hi,

Is it possible to find out what all object files were put into an exe? Does it sound like a weird question? Well i have a c++ executable which was a simple program created by linking 2 .obj files. Can i now get this information from the exe which .obj files they were? I have used 'ldd' command to find which '.so's were linked but can't get anything for object files.

Hi,

Is it possible to find out what all object files were put into an exe? Does it sound like a weird question? Well i have a c++ executable which was a simple program created by linking 2 .obj files. Can i now get this information from the exe which .obj files they were? I have used 'ldd' command to find which '.so's were linked but can't get anything for object files.

From the Linux command line you can do:

nm -A executable_file_name

This will list the symbols from object files

-J

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.