Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 1999 00:04:44 -0400 (EDT)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        druid@eoe-magical.org (Donald)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: gcc compiler
Message-ID:  <199905030404.AAA20284@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <372CBECA.E25D871D@eoe-magical.org> from Donald at "May 2, 99 10:08:26 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Donald wrote,
> gcc filename.c -o filename
> 
> compiles to a exe file, but I forgot how to link the
> math library, can ome one help.

RTFM.

% gcc -lm filename.c -o filname

-- 
Crist J. Clark                           cjclark@home.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905030404.AAA20284>