[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Linker search directories
From: |
Russell |
Subject: |
Re: [avr-gcc-list] Linker search directories |
Date: |
Tue, 29 Oct 2002 00:35:41 +1100 |
Joerg Wunsch wrote:
>
> Russell <address@hidden> wrote:
>
> > Does avr-ld have any built-in search paths for libraries?
>
> Yes, it does.
>
> > Is there a command to print them out?
>
> Not that i know of.
>
> For the default Unix configuration, it's ${prefix}/avr/lib. prefix
> can be either /usr/local or just /usr, depending on how your package
> has been built.
>
> > I get lots of unresolved symbol errors while linking
> > about ten .o files. (symbols for math functions)
>
> RTFAQ:
>
> http://savannah.nongnu.org/download/avr-libc/doc/avr-libc-user-manual/FAQ.html#faq_libm
I found it's better to call the linker thru the compiler,
because it has built-in paths.
http://avr.jpk.co.nz/pipermail/avr-gcc-list/2001-October/000888.html
http://avr.jpk.co.nz/pipermail/avr-gcc-list/2001-October/000889.html
http://avr.jpk.co.nz/pipermail/avr-gcc-list/2001-October/000891.html
avr-gcc-list at http://avr1.org