Nikola Gedelovski
Nikola Gedelovski

Reputation: 1000

Solaris linker verbosity options (ld -D tokens)

When linking with ld (SunOS 5.10, Sun Studio 12), what is the list of possible tokens that are accepted by ld -D?

Neither man ld nor ld --help reveals the proper list. Namely, I need full information on the missing symbols (not just the demangled name of a C++ function).

Upvotes: 1

Views: 692

Answers (1)

alanc
alanc

Reputation: 4180

As the man page says:

     -D token,...

         Prints  debugging  information,  as  specified  by  each
         token,  to  the  standard error.  The special token help
         indicates the full list of tokens available.

running ld -D help does indeed output the list of available options.

Upvotes: 2

Related Questions