-no-undefined option
Lin George
george4academic@yahoo.com
Thu Dec 14 14:22:00 GMT 2006
Hi Ian, I can not find a maillist or forum from http://sourceware.org/binutils/ where I can subscribe and post my questions. I only find one which could subscribe digest. Could you help please? Thanks.
regards,
George
----- Original Message ----
From: Ian Lance Taylor <iant@google.com>
To: Lin George <george4academic@yahoo.com>
Cc: gcc-help@gcc.gnu.org
Sent: Thursday, December 14, 2006 12:01:03 AM
Subject: Re: -no-undefined option
Lin George <george4academic@yahoo.com> writes:
> Could anyone explain in what scenario this option is needed (what is
> its special function)?
That is not a compiler option, so gcc-help is not the right mailing
list. It is a GNU linker option. The right list for questions about
the linker is binutils@sourceware.org. See
http://sourceware.org/binutils/
The -no-undefined option is documented in the linker manual. When
creating a shared library, the default for an undefined symbol is to
not report an error. The --no-undefined option changes this to report
an error.
This is useful if you want to ensure that the shared library is
complete in itself, and does not have any references to other shared
libraries.
Ian
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
More information about the Gcc-help
mailing list