PowerPC64 and 64LE support #205

Open
ajdlinux opened this Issue Dec 15, 2016 · 8 comments

Projects

None yet

5 participants

@ajdlinux
ajdlinux commented Dec 15, 2016 edited

Would be very nice to get some 64-bit PPC compilers - both big and little endian. ppc64le is the primary target of all of IBM's POWER8/POWER9 Linux work these days.

@androm3da
Contributor

ellcc could cover this and several other targets. See http://ellcc.org/

@ajdlinux

@androm3da thanks, never heard of ellcc! What exactly are the differences between ellcc and clang? I note that the list of targets on the website only lists ppc32, but it looks like there are release tarballs for ppc64 and ppc64le.

gcc and clang can also target ppc64 and ppc64le.

@mattgodbolt
Owner

It's pretty easy to write PRs to add new compilers: mattgodbolt/compiler-explorer-image#7 for example installed the LDC compilers, and then a patch to add it to etc/config/*.properties is all that's needed.

@ajdlinux

I'll have a look at it soon, thanks!

@ellcc
ellcc commented Jan 5, 2017

Hi,
Thanks for adding ellcc to godbolt.org. One minor nit: The pull down menu calls it elcc.
You can compile for ppc64 with "-target ppc64-linux" and ppc64le with "-target ppc64el-linux".

@androm3da
Contributor

Should get fixed by #224

@ajdlinux
ajdlinux commented Jan 6, 2017

I'd still like to get gcc for ppc64, will try and submit a PR shortly

@haneefmubarak

@ajdlinux are you still looking at doing that PR or is it okay if I have a crack at it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment