Created attachment 176597 [details] Updated script This refers to an old version of GCC, and the build script is slightly Linux specific (location of bash, use of /proc and GNU make). There's no need for the gmp checks, 'dowload_prerequisites' also handles that. I'd also like to switch to using git anf git tags rather than tarballs. Last thing, not yet done, allow the GCC version to be chosen as an argument to the script (e.g., download-and-build-gcc 14.2.0). I'm testing the attached script on FreeBSD.
Created attachment 176598 [details] With command line option for version With a check for optional command line version of GCC
commit d08b181d9418d9d700c43307664cfef3c1f2ad86 (HEAD -> master, origin/master, origin/HEAD) Author: Paul Floyd <pjfloyd@wanadoo.fr> Date: Sun Dec 15 15:10:33 2024 +0100 Bug 497455 - Update drd/scripts/download-and-build-gcc The other script also are likely to need some attention. This one is probably the most useful for users that want to test OpenMP aplications with DRD or Helgrind.