Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Compilation script, improve avr-gcc-ar call efficiency #5384

Open
Labels
@MorenoMG

Description

Hi to all

This is my first post and first approach to Arduino world.
Today I installed Arduino IDE 1.6.11 on a Windows 10 laptop.

All work fine but the system take long time to compile.
I removed antivirus, placed compilation folder in a RAMDisk but nothing change, a simple program like BlinkWithoutDelay is compiled in about 25 seconds, a life.

I enabled verbose mode and looked inside compilation process.
The biggest time leakage is the continuous calling to avr-gcc-ar, for BlinkWithoutDelay avr-gcc-ar is called 26 times for a total of about 15 seconds.

I created an enormous single call command line with about 100 o files
This call take less than one second, more than 100 times faster.

Is possible modify the script generation module to create a single call to avr-gcc-ar instead of a call for each file??

Bye, Moreno
Uploading Call.Txt...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /