From owner-freebsd-questions Sun May 2 21: 4:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 63DCA15CB0 for ; Sun, 2 May 1999 21:04:34 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id AAA20284; Mon, 3 May 1999 00:04:44 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199905030404.AAA20284@cc942873-a.ewndsr1.nj.home.com> Subject: Re: gcc compiler In-Reply-To: <372CBECA.E25D871D@eoe-magical.org> from Donald at "May 2, 99 10:08:26 pm" To: druid@eoe-magical.org (Donald) Date: Mon, 3 May 1999 00:04:44 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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