[Top][All Lists]

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

Re: [avr-gcc-list] Lib problems.

From: Russell Shaw
Subject: Re: [avr-gcc-list] Lib problems.
Date: Mon, 24 Mar 2003 20:19:38 +1100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030311 Debian/1.2.1-10

Mark Williams (MWP) wrote:
>>ld.so is the linux run-time linker for shared *system* libraries, so it is
>>meaningless for a program that is going to run on foreign hardware.
> Ok, i wasnt sure, so after the problem popped up, i added it anyway.
>>Make sure crts8535.o is in the avr-gcc search path:
>>address@hidden: avr-gcc -print-search-dirs
>>install: /usr/local/lib/gcc-lib/avr/3.3/
>>libraries: =/usr/local/lib/gcc-lib/avr/3.3/:/usr/lib/gcc/avr/3.3/:
> OK:
> address@hidden avr]# avr-gcc -print-search-dirs
> install: /usr/local/avr/lib/gcc-lib/avr/3.3/
> programs: =/usr/local/avr/lib/gcc-lib/avr/3.3/:/usr/local/avr/lib/gcc-lib/avr/3.3/:/usr/local/avr/lib/gcc-lib/avr/:/usr/lib/gcc/avr/3.3/:/usr/lib/gcc/avr/:/usr/local/avr/lib/gcc-lib/avr/3.3/../../../../avr/bin/avr/3.3/:/usr/local/avr/lib/gcc-lib/avr/3.3/../../../../avr/bin/
> libraries: 
> AND (/usr/local/avr was my install prefix):...

> So none of the paths avr-gcc is searching include /usr/local/avr/lib.

Your libraries path has this:


which is an indirect way to /usr/local/avr/lib.

> What can i do about this?

Make sure gcc is passed the option:-mmcu=at90s8535

> It was a simple install, i didnt do anything special with install locations
> other than --prefix=/usr/local/lib.

This may be the problem. The default is --prefix=/usr/local.
./configure --help

reply via email to

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