Menu

#543 Leaner source: Remove pic14/pic16 autogenerated header and lib from source tree

open
nobody
None
5
2024-07-11
2017-11-02
No

The SDCC source tree is quite big at 232 MB for an extracted source snapshot. 162 MB out of that are pic14 and pic16 files autogenerated from gputils.
I'd suggest to remove these files from the SDCC source tree and instead generate them at build time.

Those users that don't target pic don't need those files. The users that do target pic need gputils to build SDCC anyway.

This will reduce the size of the tar.bz2 source snapshots from 16 MB to 11 MB.

Philipp

Related

Patches: #288
Wiki: SDCC 4.3.0 Release
Wiki: SDCC 4.4.0 Release
Wiki: SDCC 4.5.0 Release

Discussion

  • Philipp Klaus Krause

    Also, the build system for pic16/libio should be parametrized. The current Makefile.in there is nearly 12 MB.

    Philipp

     
    👍
    1
  • Philipp Klaus Krause

    Another advantage would be that we'd no longer be shipping potentially non-free files with our source; all such files would only be generated at build-time.

    Philipp

     
    👍
    1

Log in to post a comment.