readlink command not found

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
pieter
Posts: 3
Joined: Sat Jul 17, 2010 2:49 pm

readlink command not found

Post by pieter » Sat Jul 17, 2010 3:01 pm

I just installed the CrossPack-AVR-20100115.dmg on my Powerbook with Mac OS 10.3.
After having started with the Getting Started section of the manual I came not further then having edited the 2 files Makefile and main.c.
I just wanted to execute the command avr-gcc-select 4, but came up with the message
/usr/local/CrossPack-AVR/bin/avr-gcc-select: line 1: readlink: command not found
Current default compiler:gcc

Looking inside the shell script it seems not to execute readlink
Tried to do it on the commandline and obviously came with the same result: readlink: command not found

Who knows the answer?

By the way the results are ok. It seems a cosmetic default.
In /usr/local/CrossPack-AVR-20100115/etc/options is found the file gcc-version -> ../../avr-4 and changes to gcc-version -> ../../avr-3 when given the command avr-gcc-select 3.
The same cosmetic defaults are seen when executing the command make. It does create the files main.o, main.elf and main.hex.

pieter
Posts: 3
Joined: Sat Jul 17, 2010 2:49 pm

Re: readlink command not found

Post by pieter » Sat Jul 17, 2010 7:35 pm

Solved by ls -l /usr/local/CrossPack=AVR-20100115/etc/options | tail -c -3 result "-3"

Post Reply