This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: suppressing -lm for g++ links
- To: Fred Fish <fnf at ninemoons dot com>
- Subject: Re: suppressing -lm for g++ links
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 27 Jun 1998 23:38:47 -0600
- cc: egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199806270030.RAA10970@ninemoons.com>you write:
> BeOS does not have or need -lm. This is how I fixed it in my current
> BeOS port:
First -- ChangeLog entries should be sent as plaintext, not as diffs
since they rarely apply cleanly.
> Index: config/i386/beos.h
Err, no such file exists in the egcs distribution.
The actual c++ changes looked OK. So I installed them.
You introduced a new target macro -- in the future please include documentation
changes when you add new target macros. I've written suitable documentation
for NEED_MATH_LIBRARY.
Thanks,
jeff