Open KanedaFr opened 2 years ago
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, Sorry for the late reply.
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. Configuration of GCC 4.x was made for mpfr 2.x. If you don't want or can't use the one installed on your system, but the source from the downloaded archive, you have to set the mpfr source and lib paths.
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 was unable to find a clean way to handle the 2 options (--with-mpfr-include and --with-mpfr-lib) for every case. If it's no longer needed, you don't need to edit the makefile.
I saw your last commit was about 4.9.4, should I try it ? or wait for official release ?
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 !!