eide icon indicating copy to clipboard operation
eide copied to clipboard

[question] sdcc.model.json editing

Open BeatSkip opened this issue 11 months ago • 1 comments

What you want to do I need a way to crate a custom sdcc.model.json or override values in the original one. The platform I am programming on will not compile with the sdcc -MMD flag. This is fixed in the output in sdcc.model.json so currently I have a pre-compile shell script that removes that from the file.

Describe the problem SDCC will not compile with the flag -MMD enabled in the sdcc.model.json I don't know what this does, but it prevents my project from working

Expected behavior I would like to override values of the sdcc.model.json or provide my own custom one. This would make the whole platform more flexible.

BeatSkip avatar Jan 29 '25 09:01 BeatSkip

This is because sdcc discarded this option

Image

We will update sdcc.model.json in next version.


-MMD ....

These options are used to generate dependencies for source files.

These options are used for gcc, sdcc is compatible with them.

github0null avatar Feb 08 '25 04:02 github0null