(MIPS M4K) PIC32MX795 (UBW32)

安裝XC32


參考資訊:
1. development-tools

步驟如下:

$ cd
$ wget http://ww1.microchip.com/downloads/en/DeviceDoc/xc32-v2.05-full-install-linux-installer.run
$ sudo chmod 0777 xc32-v2.05-full-install-linux-installer.run
$ sudo ./xc32-v2.05-full-install-linux-installer.run










$ export PATH=$PATH:/opt/microchip/xc32/v2.05/bin/
$ xc32-gcc -v
  Microchip Language Tool Shell Version 2.05 (Build date: Jan  8 2018).
  Copyright (c) 2012-2017 Microchip Technology Inc. All rights reserved
  *** Executing: "/opt/microchip/xc32/v2.05/bin//bin/pic32m-gcc" "-v" 
  Using built-in specs.
  COLLECT_GCC=/opt/microchip/xc32/v2.05/bin//bin/pic32m-gcc
  COLLECT_LTO_WRAPPER=/opt/microchip/xc32/v2.05/bin/bin/gcc/pic32mx/4.8.3/lto-wrapper
  Target: pic32mx
  Configured with: /build/bamboo/xml-data/build-dir/XC32-TBC-BLD/builddir/pic32m-source/src48x/gcc/configure --enable-static CFLAGS='-DMCHP_XCLM_SHA256_DIGEST=25c59700405f1de167e24681e90af0f4c354fac1e111b55b9bc3ba8f3e562c82 -DMCHP_XCLM64_SHA256_DIGEST=67ba346fb7be460fd1ad40eee62e299420c69bda9361c5fe01874e87df1f1a58 -DMCHP_FXCLM_SHA256_DIGEST=8727ea3da9bdd624fee0130eb6133188719892bcbee7da32606911a8b08a1a8d -O2' CXXFLAGS='-DMCHP_XCLM_SHA256_DIGEST=25c59700405f1de167e24681e90af0f4c354fac1e111b55b9bc3ba8f3e562c82 -DMCHP_XCLM64_SHA256_DIGEST=67ba346fb7be460fd1ad40eee62e299420c69bda9361c5fe01874e87df1f1a58 -DMCHP_FXCLM_SHA256_DIGEST=8727ea3da9bdd624fee0130eb6133188719892bcbee7da32606911a8b08a1a8d -O2' --disable-shared --prefix=/build/bamboo/xml-data/build-dir/XC32-TBC-BLD/builddir/install-Linux --includedir=/build/bamboo/xml-data/build-dir/XC32-TBC-BLD/builddir/install-Linux/pic32mx/include --bindir=/build/bamboo/xml-data/build-dir/XC32-TBC-BLD/builddir/install-Linux/bin/bin --libexecdir=/build/bamboo/xml-data/build-dir/XC32-TBC-BLD/builddir/install-Linux/bin/bin --with-libelf=/build/bamboo/xml-data/build-dir/XC32-TBC-BLD/builddir/build-pic32m-native/host-libs --with-host-libstdcxx='-static-libgcc -static-libstdc++ -Wl,-Bstatic,-lstdc++,-Bdynamic,-lm' --with-gmp=/build/bamboo/xml-data/build-dir/XC32-TBC-BLD/builddir/build-pic32m-native/host-libs --with-ppl=/build/bamboo/xml-data/build-dir/XC32-TBC-BLD/builddir/build-pic32m-native/host-libs --with-cloog=/build/bamboo/xml-data/build-dir/XC32-TBC-BLD/builddir/build-pic32m-native/host-libs --target=pic32mx --program-prefix=pic32m- --with-bugurl=http://www.microchip.com/support --with-dwarf2 --with-newlib --with-gnu-as --with-gnu-ld --enable-cxx-flags=-mno-smart-io --enable-lto --enable-fixed-point --enable-gofast --enable-languages=c,c++ --enable-sgxx-sde-multilibs --enable-sjlj-exceptions --enable-obsolete --disable-hosted-libstdcxx --disable-libstdcxx-pch --disable-libssp --disable-libmudflap --disable-libffi --disable-libfortran --disable-bootstrap --disable-shared --disable-__cxa_atexit --disable-nls --disable-libgomp --disable-threads --disable-sim --disable-decimal-float --disable-libquadmath --without-headers 'XGCC_FLAGS_FOR_TARGET=-frtti -fexceptions -fno-enforce-eh-specs -mno-smart-io' --disable-checking
  Thread model: single
  gcc version 4.8.3 MPLAB XC32 Compiler v2.05 (Microchip Technology) 
  ****This process has return value = 0
  *** Handle returned to : xc32-gcc -v


返回上一頁