Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime.tools.avr-gcc.path and archive_file_path #57

Open
alcir opened this issue Feb 11, 2017 · 2 comments
Open

runtime.tools.avr-gcc.path and archive_file_path #57

alcir opened this issue Feb 11, 2017 · 2 comments

Comments

@alcir
Copy link

alcir commented Feb 11, 2017

Arduino: 1.6.4 (Linux), Board: "Digispark (Default - 16.5mhz)"

Cannot run program "{runtime.tools.avr-gcc.path}/bin/avr-g++" (in directory "."): error=2, No such file or directory

In .arduino15/packages/digistump/hardware/avr/1.6.7/platform.txt I've changed compiler.path to /usr/bin/, but now I get

/usr/bin/avr-ar: {archive_file_path}: Permission denied Error compiling.

Where archive_file_path is defined?

@AuroraRAS
Copy link

AuroraRAS commented Apr 27, 2017

I encountered the same problem.

as a temporary solution, open:
/home/[your username]/.arduino15/packages/digistump/hardware/avr/1.6.7/platform.txt

and edit it:

compiler.path=/usr/bin/
archive_file_path=/home/[your username]/[some path]/archive_file

@n2vram
Copy link

n2vram commented Jun 26, 2017

Given https://forum.arduino.cc/index.php?topic=358313.0
Perhaps a better solution is to add a preference.txt entry with literally:

archive_file_path={build.path}/{archive_file}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants