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
Depends on:
Reported: 2019-05-17 14:17 UTC by Christopher Hall
Modified: 2020-12-10 00:49 UTC (History)
1 user (show)

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

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


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