This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: another baby step - namespace adjustments


> C90 guarantees that the system has a sqrt() function somewhere, but
> says nothing about the name of the library containing it.

Perhaps an autoconf test to see if "-lm" works?  That should be
reliable enough, since it wouldn't depend on functions.  Just "hello.c
-lm" and see if it complains about not finding -lm.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]