Replies: 1 comment 8 replies
-
I'm pretty sure GCC's build can bootstrap itself: https://gcc.gnu.org/install/build.html |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been working on a preset for gcc/libgccjit as you probably know from the mailing lists. To build gcc we require a more modern version of the gcc compiler, that's just how gcc's build works.
I recently came across a package on the launchpad ppa for Ubuntu which seems to have cross compilers for gcc-10 for a lot of the architectures we have presets for.
It looks like this package has cross compilers for aarch64, arm-gnueabi, arm-gnueabihf, powerpc, powerpc64le, i686, s390x and x86-64.
Lacking experience with apt and ubuntu's packages I'm assuming the packages published for Focal/20.04 are probably incompatible with Xenial/16.04 which is the version the actions are running on. If this is the case, an option would be to upgrade the actions themselves to 20.04, but I imagine there will be some migration issues so it's probably better to add an Ubuntu Focal action instead.
I'll build an environment to run the actions on for the libgccjit preset, but I think it's something we could look to move into the javacpp-presets repo along with the other actions for building presets. Let me know what you think.
Beta Was this translation helpful? Give feedback.
All reactions