Date: Mon, 12 Jul 1999 08:24:08 +0200 To: pgcc AT delorie DOT com Subject: Re: libm.a Message-ID: <19990712082408.F550@cerebro.laendle> Mail-Followup-To: pgcc AT delorie DOT com References: <37862973 DOT 5F17D899 AT es DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from Henrik Berglund SdU on Fri, Jul 09, 1999 at 08:31:22PM +0200 X-Operating-System: Linux version 2.3.10 (root AT cerebro) (gcc driver version egcs-2.91.66 19990314 (egcs-1.1.2 release) executing gcc version 2.7.2.3) From: Marc Lehmann Reply-To: pgcc AT delorie DOT com X-Mailing-List: pgcc AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Fri, Jul 09, 1999 at 08:31:22PM +0200, Henrik Berglund SdU wrote: > When i remove -lm in the bytemark makefile on my k6-2 running linux and > pgcc it does not complain about not finding (sin, cos, exp, sqrt, pow). > but it does so on an ultrasparc running solaris. What is wrong does pgcc > always include the math library by default? What would be wrong with that behaviour? However what happens is that many external references will be optimized out on linux (some by gcc). > Have a 3dnow library that i would like to try, it has some optimised cos > sin sqrt funktions. If you use the header file of that library all should be well. -- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg AT goof DOT com |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |