>> Yes, I have installed the binutils to the directory /usr/local/avr

>How? With the ports collection or manually?
By manually :(

Because I have readed the section "installation" of the avr-gcc manual.
So I want to install all the avr tool-set into one directory: /usr/local/avr




That is not the proper invocation, but widely used and usually works.
> But only works by accident. Make is not bound to build the targets
> listed in the order listed. This is the correct way to install and
> clean, the clean will not run unless install exits without error:
>
> # make install && make clean
>
I am a green hand in the FreeBSD world. Thank you for the suggestions.

Finally, I have installed avr-binutils and avr-gcc. I did the following
steps.
1. Delete the avr-binutils which installed by manual.
2. Refresh the ports of binutils and avr-gcc to the newest ones.
3. Install binutils and avr-gcc by ports system.

Everything is fine except the avr-libc.
I install the avr-libc before reading the suggestion of David.
He wrote:
-----------------------------------
Yes, but you also have to "make -DNOPORTDOCS install"

The BROKEN line stops the build immediately. Remove BROKEN and it will
try. -DNOPORTDOCS is required to keep the build out of the problem
support utilities where the breakage occurs.
-----------------------------------
Now, the port system is fetching the big file "tetex", OK, I don't want to
stop it :)

If it fail, I'll try your new methods.

FreeBSD is a great system, thanks for the avr tools and the people who
created them.

Atommann from China
_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to