Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sun C Compiler/Linker Option

Status
Not open for further replies.

jameslu

Programmer
Nov 21, 2002
8
GB
Hiya,

I'm currently trying to build and link together a C source executable and have managed to do so on SEQUENT (Dynix) without problems because I can use the linker option:

-Uf

By default, if the linker or ld fails to resolve one or more symbols, it lists those symbols and then terminates with an error message and no output is created. However if the -Uf option is specified, ld supplies a dummy value (zero) for each undefined symbol and proceeds to completion.

I have searched in the ld manual pages on our Sun Unix installation for this option but cannot find one. Can anyone out there suggest or knows an equivalent option for ld which will suppress non-resolved symbols so I can get on building and linking my code?

Many thanks,

James
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top