Allow me to show results from the *gcc -v of several gcc compilers I have installed in my computer:
C:\>gcc --v
Using built-in specs.
Target: x86_64-w64-mingw32
Configured with: ../gcc44-svn/configure --target=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --disable-multilib --disable-nls --disable-win32-registr
y --prefix=/mingw64 --with-gmp=/mingw64 --with-mpfr=/mingw64 --enable-languages=c,c++
Thread model: win32
gcc version 4.4.3 (GCC)
C:\>avr-gcc -v
Using built-in specs.
Reading specs from c:/programs/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.9.2/device-specs/specs-avr2
COLLECT_GCC=avr-gcc
COLLECT_LTO_WRAPPER=c:/programs/avr8-gnu-toolchain/bin/../libexec/gcc/avr/4.9.2/lto-wrapper.exe
Target: avr
Configured with: /home/toolsbuild/workspace/avr8-gnu-toolchain/src/gcc/configure LDFLAGS=-L/home/toolsbuild/workspace/avr8-gnu-toolchain/avr8-gnu-tool
chain-win32_x86-hostlibs/lib CPPFLAGS= --target=avr --host=i686-w64-mingw32 --build=x86_64-pc-linux-gnu --prefix=/home/toolsbuild/workspace/avr8-gnu-t
oolchain/avr8-gnu-toolchain-win32_x86 --libdir=/home/toolsbuild/workspace/avr8-gnu-toolchain/avr8-gnu-toolchain-win32_x86/lib --enable-languages=c,c++
--with-dwarf2 --enable-doc --disable-shared --disable-libada --disable-libssp --disable-nls --with-avrlibc=yes --with-mpfr=/home/toolsbuild/workspace
/avr8-gnu-toolchain/avr8-gnu-toolchain-win32_x86-hostlibs --with-gmp=/home/toolsbuild/workspace/avr8-gnu-toolchain/avr8-gnu-toolchain-win32_x86-hostli
bs --with-mpc=/home/toolsbuild/workspace/avr8-gnu-toolchain/avr8-gnu-toolchain-win32_x86-hostlibs --enable-win32-registry=avrtoolchain --with-pkgversi
on=AVR_8_bit_GNU_Toolchain_3.5.3_1700 --with-bugurl=http://www.atmel.com
Thread model: single
gcc version 4.9.2 (AVR_8_bit_GNU_Toolchain_3.5.3_1700)
C:\>arm-none-eabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=c:/programs/gnu\ tools\ arm\ embedded/5.4\ 2016q2/bin/../lib/gcc/arm-none-eabi/5.4.1/lto-wrapper.exe
Target: arm-none-eabi
Configured with: /home/build/work/GCC-5-0-build/src/gcc/configure --build=i686-linux-gnu --host=i686-w64-mingw32 --target=arm-none-eabi --prefix=/home
/build/work/GCC-5-0-build/install-mingw --libexecdir=/home/build/work/GCC-5-0-build/install-mingw/lib --infodir=/home/build/work/GCC-5-0-build/install
-mingw/share/doc/gcc-arm-none-eabi/info --mandir=/home/build/work/GCC-5-0-build/install-mingw/share/doc/gcc-arm-none-eabi/man --htmldir=/home/build/wo
rk/GCC-5-0-build/install-mingw/share/doc/gcc-arm-none-eabi/html --pdfdir=/home/build/work/GCC-5-0-build/install-mingw/share/doc/gcc-arm-none-eabi/pdf
--enable-languages=c,c++ --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disa
ble-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-headers=yes --with-newlib --with-p
ython-dir=share/gcc-arm-none-eabi --with-sysroot=/home/build/work/GCC-5-0-build/install-mingw/arm-none-eabi --with-libiconv-prefix=/home/build/work/GC
C-5-0-build/build-mingw/host-libs/usr --with-gmp=/home/build/work/GCC-5-0-build/build-mingw/host-libs/usr --with-mpfr=/home/build/work/GCC-5-0-build/b
uild-mingw/host-libs/usr --with-mpc=/home/build/work/GCC-5-0-build/build-mingw/host-libs/usr --with-isl=/home/build/work/GCC-5-0-build/build-mingw/hos
t-libs/usr --with-cloog=/home/build/work/GCC-5-0-build/build-mingw/host-libs/usr --with-libelf=/home/build/work/GCC-5-0-build/build-mingw/host-libs/us
r --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Tools for ARM Embedded Processors' --with-multilib
-list=armv6-m,armv7-m,armv7e-m,armv7-r,armv8-m.base,armv8-m.main
Thread model: single
gcc version 5.4.1 20160609 (release) [ARM/embedded-5-branch revision 237715] (GNU Tools for ARM Embedded Processors)
C:\>xc32-gcc -v
Microchip Language Tool Shell Version 1.42 (Build date: Jun 1 2016).
Copyright (c) 2012 Microchip Technology Inc. All rights reserved
*** Executing: "C:\Programs\xc32\v1.42\bin\bin/xc32-gcc.exe" "-v"
Using built-in specs.
COLLECT_GCC=C:\Programs\xc32\v1.42\bin\bin/xc32-gcc.exe
COLLECT_LTO_WRAPPER=c:/programs/xc32/v1.42/bin/bin/gcc/pic32mx/4.8.3/lto-wrapper.exe
Target: pic32mx
Configured with:
Thread model: single
gcc version 4.8.3 MPLAB XC32 Compiler v1.42 (Microchip Technology)
Did you notice something missing from the output of the XC-32 compiler that is present in the other ones? Maybe I am wrong, but it looks to me that Microchip is making an extra effort to prevent people from building XC-32 from sources. But wait, there is more. Look what happens when you do the same with XC-32 v1.40:
C:\Programs\xc32\v1.40\bin>xc32-gcc -v
Microchip Language Tool Shell Version v1.40 (Build date: Jun 3 2015).
Copyright (c) 2012 Microchip Technology Inc. All rights reserved
*** Executing: "C:\Programs\xc32\v1.40\bin\bin/xc32-gcc.exe" "-v"
Using built-in specs.
COLLECT_GCC=C:\Programs\xc32\v1.40\bin\bin/xc32-gcc.exe
COLLECT_LTO_WRAPPER=c:/programs/xc32/v1.40/bin/bin/gcc/pic32mx/4.8.3/lto-wrapper.exe
Target: pic32mx
Configured with: ../../src48x/gcc/configure --build=i386-apple-darwin10 --host=i586-mingw32 --prefix=/Volumes/home/c11067/xc32/build/xc32-XC32_v1_40_
ranch/win32-image --includedir=/Volumes/home/c11067/xc32/build/xc32-XC32_v1_40_branch/win32-image/pic32mx/include --bindir=/Volumes/home/c11067/xc32/
uild/xc32-XC32_v1_40_branch/win32-image/bin/bin --libexecdir=/Volumes/home/c11067/xc32/build/xc32-XC32_v1_40_branch/win32-image/bin/bin --disable-sha
ed --with-libelf=/Volumes/home/c11067/xc32/build/xc32-XC32_v1_40_branch/win32-build/mingw32-libs --with-gmp=/Volumes/home/c11067/xc32/build/xc32-XC32
v1_40_branch/win32-build/mingw32-libs --without-isl --without-cloog --target=pic32mx --program-prefix=xc32- --with-bugurl=http://www.microchip.com/su
port --with-dwarf2 --with-newlib --with-gnu-as --with-gnu-ld --enable-cxx-flags=-mno-smart-io --enable-lto --enable-fixed-point --enable-gofast --ena
le-languages=c,c++ --enable-sgxx-sde-multilibs --enable-sjlj-exceptions --enable-obsolete --disable-hosted-libstdcxx --disable-libstdcxx-pch --disabl
-libssp --disable-libmudflap --disable-libffi --disable-libfortran --disable-bootstrap --disable-shared --disable-__cxa_atexit --disable-nls --disabl
-libgomp --disable-threads --disable-sim --disable-decimal-float --disable-libquadmath --without-headers 'XGCC_FLAGS_FOR_TARGET=-frtti -fexceptions -
no-enforce-eh-specs -mno-smart-io' --disable-checking --enable-poison-system-directories
Thread model: single
gcc version 4.8.3 MPLAB XC32 Compiler v1.40 (Microchip Technology)
Did they suddenly realized that displaying the 'Configured with' was helping those who tried to build XC-32 from sources and then they removed it?