Package Details: microchip-mplabxc16-bin 1.34-1

Git Clone URL: (read-only)
Package Base: microchip-mplabxc16-bin
Description: Microchip's MPLAB XC16 C compiler toolchain for their dsPIC and PIC24 microcontroller families
Upstream URL:
Licenses: custom
Submitter: bxs
Maintainer: methril
Last Packager: methril
Votes: 11
Popularity: 1.253344
First Submitted: 2012-05-10 14:26
Last Updated: 2018-04-18 14:34

Latest Comments

methril commented on 2018-02-05 15:37

NOTE: If you use eds pointers on EP devices, be careful, as this compiler version generates incorrect pointer data access. See this Microchip thread for more information

antoniovazquez commented on 2017-09-02 20:19

It solves the same issue for me. Thank you very much.

methril commented on 2017-06-27 11:26

This patch fixes your problems imran27:

@@ -34,9 +34,9 @@ build() {
package() {
mkdir -p "${pkgdir}${instdir}"
mv unpacked.vfs/compiler/programfiles*/* "${pkgdir}${instdir}"
- mv unpacked.vfs/licensecomponent/xclmallBin/bin/{roam.lic,xclm} "${pkgdir}${instdir}/bin"
- sed -i "s/<xclm>/<xclm>\n\t<xclm:LicenseDirectory xclm:path=\"\/opt\/microchip\/xclm\/license\/\" \/>/" unpacked.vfs/licensecomponent/xclmallBin/etc/xclm.conf
- mv unpacked.vfs/licensecomponent/xclmallBin/etc/xclm.conf "${pkgdir}${instdir}/etc"
+ mv unpacked.vfs/licensecomponent/xclmBinlinux32/bin/{roam.lic,xclm} "${pkgdir}${instdir}/bin"
+ sed -i "s/<xclm>/<xclm>\n\t<xclm:LicenseDirectory xclm:path=\"\/opt\/microchip\/xclm\/license\/\" \/>/" unpacked.vfs/licensecomponent/xclmBinlinux32/etc/xclm.conf
+ mv unpacked.vfs/licensecomponent/xclmBinlinux32/etc/xclm.conf "${pkgdir}${instdir}/etc"
mv unpacked.vfs/licensecomponent/xclmallDocs/doc/* "${pkgdir}${instdir}/docs"

mv "${pkgdir}${instdir}"/*License.txt "${pkgdir}${instdir}/docs" 2>/dev/null || true

imran27 commented on 2017-06-07 02:52

mv: cannot stat 'unpacked.vfs/licensecomponent/xclmallBin/bin/roam.lic': No such file or directory
mv: cannot stat 'unpacked.vfs/licensecomponent/xclmallBin/bin/xclm': No such file or directory

imran27 commented on 2017-06-06 05:20

When will this be updated?

greyltc commented on 2015-06-24 16:33

@ModYokosuka thanks for the heads up. This should be fixed now in pkgrel=8

ModYokosuka commented on 2015-06-24 16:23

Almost not worth bringing up but the license file is not correctly linked. This actually attempts to link to the file *icense.txt for some reason instead of the actual file.

- ln -s /opt/$pkgname/docs/*icense.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ ln -s /opt/$pkgname/docs/MPLAB_XC16_Compiler_License.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE

greyltc commented on 2015-04-02 18:31

@ivanovp would you consider borrowing from or switching to my PKGBUILD here:
to fix some things with the current packaging method? I've removed the need to actually run Microchip's installer package which prevents it from reaching around the users system and needing random directories to be created beforehand.

clu commented on 2015-03-03 18:30

For those of you with -lpic30* errors you need to add the option 'staticlibs' to the PKGBUILD options field. Right now the packaging process deletes loads of static libraries in the /opt/microchip/xc16/v1.24/lib/* subdirectories.

A minor update is needed in the .install file which references the path for v1.23 instead of v1.24...

Good luck...

ivanovp commented on 2014-12-01 05:38

How can I add 32bit fakeroot to build dep?

All comments