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

SDCC 4.3.0 cc1.exe problem #76

Closed
dzid26 opened this issue Aug 25, 2023 · 0 comments · Fixed by #89
Closed

SDCC 4.3.0 cc1.exe problem #76

dzid26 opened this issue Aug 25, 2023 · 0 comments · Fixed by #89

Comments

@dzid26
Copy link

dzid26 commented Aug 25, 2023

cc1.exe: error: unrecognized command-line option '--obj-ext=.rel'

It shows up in this CI run:
https://github.com/chgpalmer/TSDZ2-Smart-EBike-1/actions/runs/5979789568/job/16224594796#step:4:21

This is probably because sdcc.exe should be called instead of cc1.exe ??? Or maybe missing dependency: https://sourceforge.net/p/sdcc/discussion/1865/thread/83d2461277/

I don't remember the details, but I think I experienced it and my workaround was to move the environmental path higher on the priority list, (above Mingw or msys or whatever that may contain cc1 compiler - that we don't want to use.)
image

Alternatively just use SDCC version 4.2.0, which didn't have this problem.

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

Successfully merging a pull request may close this issue.

1 participant