Bug 237951

Summary: devel/arduino-core cannot compile for DUE (undefined debug mode cc)
Product: Ports & Packages Reporter: Christopher Hall <christopherhall.hsw>
Component: Individual Port(s)Assignee: Kyle Evans <kevans>
Status: New ---    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (kevans)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to remove the -gcc option none

Description Christopher Hall 2019-05-17 14:17:01 UTC
when the board due is selected there is a problem with an undefined debug mode cc
this appears to be cause by one line in

  /usr/local/arduino/hardware/arduino/sam/platform.txt

that end with "-gcc"

Simply editing the file and removing that option allowed compile and upload of blink to the due with no further problem.  (It appears to be something that was required by the old gcc 4.x however arduino18 uses new gcc 8.x)
Comment 1 Christopher Hall 2019-05-18 06:55:14 UTC
Created attachment 204443 [details]
patch to remove the -gcc option