Anobium - 2025-09-17

If you’ve been using GCBASIC with Microchip’s PIC-AS compiler, you probably felt the sting when v3.10 dropped recently.

Microchip removed internal device support files, which broke GCBASIC’s ability to automatically compile for your PIC devices. Suddenly, you had to manually specify a Device Family Pack (DFP) using -mdfp, and that added a lot of friction to what used to be a totally smooth experience.


🛠️ The Fix: Smarter DFP Searching

I responded quickly and implemented a layered search system to restore functionality. Now, when compiling with PIC-AS v3.10 or later, GCBASIC searches for installed DFPs in this order:

  1. User’s Microchip Installation Directory
    If you’ve installed DFPs via MPLAB-X, GCBASIC checks here first.

  2. Default MPLAB X Installation Path
    Then, it looks in the standard location used by MPLAB X.

  3. XC8 Compiler Directory (Fallback)
    As a last resort, it searches inside the XC8 compiler’s folders. You may still have versions from v3.00 to v2.30 installed.

⚠️ This approach helps—but let’s be clear: this change is not seamless. It introduces complexity and requires users to be more hands-on than before.


🧭 Still Waiting on Microchip’s Response

I’ve reached out to the Microchip Dev Team for feedback on this workaround. So far, no response.

It’s important they understand: they’re not an island. Many developers and toolchains rely on the MPLAB solution architecture. In the past, Microchip themselves explained to me how to locate PIC-AS dependent files. Now, with v3.10, they’ve moved the goalposts—without discussion or warning.

This kind of shift disrupts ecosystems beyond their own tools. Open-source projects like GCBASIC, and the communities that use them, deserve better communication and collaboration.


💡 IDE Users: You’re Still in the Clear

If you’re using MPLAB X manage DFPs automatically. No extra steps needed.


☕ Support the Fix

If this update helped you get back to building, consider donating to support the GCBASIC team and keep open-source tools thriving. Every bit helps us keep pushing forward—even when the goalposts move.

 
❤️
1