avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] strange behaviour with ceil()


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] strange behaviour with ceil()
Date: Thu, 25 Jul 2002 17:55:05 +0200 (MET DST)

"E. Weddington" <address@hidden> wrote:

> Add the libm.a library to the files you want to link together.

The usual way for adding a library is to specify "-lm" at the end of
your compiler command line that performs the linkage step.

But arguably, for the AVR that has only static linkage, there's not
much difference in it to specifying libm.a directly except that
specifying it directly requires either the full pathname to the file
or the file being in the current directory, while -lm will look it up
in the compiler's library path.  (On architectures that offer dynamic
linkage, there's much more difference between both.)

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/
avr-gcc-list at http://avr1.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]