Arduino Makefile
Go to the previous open issue
Go to the previous issue (open or closed)
Please log in to bookmark issues
icon_project.png Arduino Makefile / Closed Feature request #6 Assembler as is chosen rather than avr-as
Go to the next issue (open or closed)
Go to the next open issue
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue basics
  • Type of issue
    Feature request
  • Targetted for
    Not determined
  • Status
  • Progress
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Resolution
Attachments (0)
There is nothing attached to this issue
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates
for assembler files (.s) uses 'as', which is the hosts's (x86) assembler, whereas avr-as in the avr toolchain should be used.

I don't know how to make a patch script, but in my I added (at appropriate places)

near CC := $(call findsoftware,avr-gcc) added AS := $(call findsoftware,avr-as)

near CPPDEPFLAGS = -MMD -MP -MF .dep/$<.dep added ASDEPFLAGS = .dep/$<.dep

near %.o: %.c .... added
%.o: %.s
mkdir -p .dep/$(dir $<)
$(COMPILE.s) $(ASDEPFLAGS) -o $@ $<

(I haven't yet been able to assemble and upload anything, so I guess I don't know what I'm doing yet, so take this is a suggestion at best :-)
Comments ()
 edam (edam)
Jul 19, 2013
Should be fixed by r88

The issue was updated with the following change(s):
  • This issue has been closed
  • The status has been updated, from New to Closed.
  • This issue's progression has been updated to 100 percent completed.
  • The resolution has been updated, from Not determined to RESOLVED.
May 30, 2013
Hm. Don't invest time in this: avr-gcc is able to handle assembler files as well, so I'm not sure why I'm getting 'as' error messages. I will report here when I understand what the problem is (if any). Don't know how to retract this issue until then.