Bug 237951 - devel/arduino-core cannot compile for DUE (undefined debug mode cc)
Summary: devel/arduino-core cannot compile for DUE (undefined debug mode cc)
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kyle Evans
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-17 14:17 UTC by Christopher Hall
Modified: 2019-05-18 06:55 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (kevans)


Attachments
patch to remove the -gcc option (2.38 KB, patch)
2019-05-18 06:55 UTC, Christopher Hall
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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