-
Notifications
You must be signed in to change notification settings - Fork 10
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
OSX support #4
Comments
Thank you, I'll see if these can be integrated into the new changes that I'm making. One thing to note ... is that I'm not sure what the problem is that you're having with mpfr, because I have no problem building V810-GCC 4.7.4 or V810-GCC 4.9.4 on Windows with the latest version of mpr. Do you mean that OSX has an earlier version of mpfr? Best wishes, John |
OK, I have the build scripts modified to download the extra libraries and integrate them into the source on the Mac, but my tester with a Mac is still having trouble building, and I think that he's doing it from Xcode. Did you manage to build within Xcode, or are you using something like a MacPorts or Brew environment instead? |
Hi, About mpfr, like i said in 3.x version, the source files are no longer on mpfr root folder but on a src sub folder. Yes, I use brew's GCC. Apple's GCC is a pre historic version. Regards |
Thank you for the information! Best wishes, John |
FWIW, I just checked again, and mpfr3+ is building fine inside the GCC tree with the currently-in-testing GCC4.9, so I guess that they must have fixed something since GCC4.7 :-) |
Great! I saw your last commit was about 4.9.4, should I try it ? or wait for official release ? |
prepare artifact zip in the build script
It took me some hours but I was finally able to build v810-gcc on OSX
I attached the patch if you need it ;)
v810_gcc_for_OSX.patch.zip
some notes:
--disable-werror is needed because sbrk is no longer available on OSX
--build=x86_64-apple-darwin20 is needed because it is unable to autodetect build typeOSX...I don't know how to customize it by OS
I used the downloaded mpfr / gmp / mpc and not the one on systems
--with-mpfr-include=$TOPDIR/gcc-4.7.4/mpfr/src
--with-mpfr-lib=$TOPDIR/build/gcc/mpfr/src/.libs
is not OSX only, it is needed for anyone who want to do the same, because mpfr 3.1 changed is tree, make it not compatible with what gcc is looking for ;)
HTH, I can't wait to play with PCFX !!
The text was updated successfully, but these errors were encountered: