This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: problem with math
- To: "Matthew Zhang" <mathfield at hotmail dot com>
- Subject: Re: problem with math
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 14 Jun 2001 17:00:01 -0300
- Cc: gcc-help at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <F53VdRQh27mCfzL8Peu000056ef@hotmail.com>
On Jun 14, 2001, "Matthew Zhang" <mathfield@hotmail.com> wrote:
> gcc -g -math source.c, I get
> cc1: Invalid option 'ath'
You mean `-lm', and it must appear after any source files that depend
on it.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me