Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated SDCC Has Problems with Spaces in File Paths #174

Open
Rybec opened this issue Dec 20, 2024 · 0 comments
Open

Outdated SDCC Has Problems with Spaces in File Paths #174

Rybec opened this issue Dec 20, 2024 · 0 comments

Comments

@Rybec
Copy link

Rybec commented Dec 20, 2024

Versions of SDCC from 4.4.0 (current official release) and older have a bug where, if Windows settings aren't just right, spaces in file paths are not properly quoted when sdcpp is called from sdcc. This can result in a failure to compile when SDCC is installed in a path with a space. Because installers can change the relevant Windows settings, and behavior is often dependent on the settings the first time the program is run, this problem doesn't happen consistent for all users, making it easy to miss and sometimes difficult to replicate.

Anyhow, the current version of ch55xduino is using a SDCC snapshot that is afflicted with this bug. The solution is to update to the latest nightly build of SDCC, which has the fix.

I've tested this fix (by replacing the SDCC in my local copy of ch55xduino), and it appears to work (though I'm having another problem that I'll be filing an issue for as soon as this one is posted).

Here is a bit more information on the bug in question: https://sourceforge.net/p/sdcc/bugs/3810/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant