-
Notifications
You must be signed in to change notification settings - Fork 6
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
Need -lgcc for tttt build #3
Comments
Good catch! I didn't initially use -lgcc, but became needed once I was able to build it because it provided soft-floating point. I should probably place -lgcc into the default command line for the tools to fix this. For now, I expect to just change the zbasic instructions. Dan |
OK, I wasn't sure where to file it since your blog doesn't have a bug tracker ;) WRT needing it - I think it does depend on your compiler version but it's mostly black magic to me.. |
Yeah, "mostly black magic". I'm still looking for the "right way" to handle this fix. Part of the difficulty is that -lgcc depends upon the C library, but you shouldn't need to specify "-lc -lgcc" on the command line (which I just had to do for a project), so this is definitely an issue and I'm looking into it. At least for now there's a work around, but it's not really the solution I want. I'm going to leave this open until I figure it out. |
Hi,
I am following http://zipcpu.com/zipcpu/2018/02/12/zbasic-intro.html and I got this trying to build tttt:
I found it necessary to add -lgcc to the XLIBS line.
The text was updated successfully, but these errors were encountered: