-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Getting Issues on make on Mac ( Catalina) #745
Comments
sim-core.c includes stdlib.h, and stdlib.h declares free. So this is odd. I don't have access to a mac so I can't try to reproduce. I do know that building on a mac requires a few extra steps, as you have to use GNU tools instead of default Mac tools, e.g. gsed instead of sed, gtar instead of tar, etc. SiFive builds our toolchains on macos, and we have a makefile to handle this. You might want to try looking at github.com/sifive/freedom-tools to see how it makes the macos build work. I don't think that this is related to the error that you got though. |
Hi jim , So someone will have to update this. |
Using prebuilts for now, I mainly wanted to build a soft float capable toolchain so ran into this. Seems that this toolchain was entirely tested and verified for OS X ,so can't really say between the resource difference between Catalina and OS X either in terms of the GNU tools etc provided by the CTL. |
The ISO C standard says that free is declared in stdlib.h. There is something wrong with your system if it isn't there. Though maybe something needs to be enabled or defined for stdlib.h to include _malloc.h? |
@johnnavaj @jim-wilson could you please take a look #769 ? Thanks. |
@tyfkda Yes I can confirm this , looks like the gdb needs a bump in its submodule. |
@johnnavaj I think this issue is solved #776 |
@tyfkda thanks for this |
The text was updated successfully, but these errors were encountered: