Skip to content

Instantly share code, notes, and snippets.

@roxlu
Created January 25, 2013 19:22
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save roxlu/4637059 to your computer and use it in GitHub Desktop.
Save roxlu/4637059 to your computer and use it in GitHub Desktop.
List of compiler targets. Use for example: ./configure --target=x86-darwin11-gcc
armv5te-android-gcc armv5te-linux-rvct armv5te-linux-gcc
armv5te-none-rvct
armv6-darwin-gcc armv6-linux-rvct armv6-linux-gcc
armv6-none-rvct
armv7-android-gcc armv7-darwin-gcc armv7-linux-rvct
armv7-linux-gcc armv7-none-rvct
mips32-linux-gcc
ppc32-darwin8-gcc ppc32-darwin9-gcc ppc32-linux-gcc
ppc64-darwin8-gcc ppc64-darwin9-gcc ppc64-linux-gcc
sparc-solaris-gcc
x86-android-gcc x86-darwin8-gcc x86-darwin8-icc
x86-darwin9-gcc x86-darwin9-icc x86-darwin10-gcc
x86-darwin11-gcc x86-darwin12-gcc x86-linux-gcc
x86-linux-icc x86-os2-gcc x86-solaris-gcc
x86-win32-gcc x86-win32-vs7 x86-win32-vs8
x86-win32-vs9
x86_64-darwin9-gcc x86_64-darwin10-gcc x86_64-darwin11-gcc
x86_64-darwin12-gcc x86_64-linux-gcc x86_64-linux-icc
x86_64-solaris-gcc x86_64-win64-gcc x86_64-win64-vs8
x86_64-win64-vs9
universal-darwin8-gcc universal-darwin9-gcc universal-darwin10-gcc
universal-darwin11-gcc universal-darwin12-gcc
generic-gnu
@roxlu
Copy link
Author

roxlu commented Jan 25, 2013

Getting your i386 host: ./config.guess |sed "s/x86_64/i386/g"

@dagelf
Copy link

dagelf commented Apr 27, 2014

Handy!

@esantoro
Copy link

esantoro commented Apr 6, 2015

Hey, how did you get to generate this list ?

@vk496
Copy link

vk496 commented Aug 10, 2017

mips64-unknown-linux-gnu

@roxma
Copy link

roxma commented May 21, 2019

Hey, how did you get to generate this list ?

I'm curious. I couldn't find it on gcc official docs. @esantoro do you have any idea now?

@esantoro
Copy link

esantoro commented May 28, 2019

Woah we are resurrecting a thread from four years ago...
Still no idea. At the time I was taking the Operating System class in university and was messing up with cross-compilers because I needed a m68k-on-amd64 cross-compiler... Since I passed that class I made sure to kill the part of my brain who used to hold that information I haven't kept up with this topic. Sorry.

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