Tuesday, November 06, 2007

    MPLAB C30 16-bit projects no longer require linker scripts

    Well sort of. All MPLAB C30 projects require a device-specific linker script. However, starting with MPLAB IDE 8.00, you no longer need to explicitly add a .gld file to your project. If you don't specify a .gld file in your project, the project manager will use a default name based on your selected device. When the project manager calls the linker, it passes the default linker-script name to the compilation shell via the -T option. The tools will know where to find the default linker script for the device.

    This new feature in MPLAB IDE 8.00 makes creating and sharing projects much simpler. It also simplifies changing devices. Go ahead... try it. Remove your .gld file from your project tree and do a Project Build All.

    1 comment:

    Steve said...

    thanks. that's a great tip.