Skip to content

Instantly share code, notes, and snippets.

@Grommish
Created February 13, 2021 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Grommish/ab104afdfb8fe1dbb14e6804e7561515 to your computer and use it in GitHub Desktop.
Save Grommish/ab104afdfb8fe1dbb14e6804e7561515 to your computer and use it in GitHub Desktop.
grommish@DESKTOP-N35LRJ4:~/openwrt$ ./staging_dir/toolchain-mips64_octeonplus_64_gcc-10.2.0_musl/bin/mips64-openwrt-linu
x-gcc -dM -E - < /dev/null | sort -u | grep -i mips
mips64-openwrt-linux-gcc: warning: environment variable 'STAGING_DIR' not defined
#define MIPSEB 1
#define _MIPSEB 1
#define _MIPS_ARCH "mips64"
#define _MIPS_ARCH_MIPS64 1
#define _MIPS_FPSET 32
#define _MIPS_ISA _MIPS_ISA_MIPS64
#define _MIPS_SIM _ABI64
#define _MIPS_SPFPSET 32
#define _MIPS_SZINT 32
#define _MIPS_SZLONG 64
#define _MIPS_SZPTR 64
#define _MIPS_TUNE "mips64"
#define _MIPS_TUNE_MIPS64 1
#define __GCC_HAVE_BUILTIN_MIPS_CACHE 1
#define __MIPSEB 1
#define __MIPSEB__ 1
#define __mips 64
#define __mips64 1
#define __mips__ 1
#define __mips_abicalls 1
#define __mips_fpr 64
#define __mips_isa_rev 1
#define __mips_soft_float 1
#define _mips 1
#define mips 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment