johnwasser:
I got a file list of the build directories but I'm not sure I know what it all means. I think the files of interest are the .o files (object code). Maybe someone with more experience can say if any of the file sizes are unusually large. From what little I know it appears that the Adafruit_GFX.cpp.o and SdFile.cpp.o files take up the most room.
Johns-MacBook-Pro:arduino_build_896642 john$ ls -Rl
total 888
-rw-r--r-- 1 john staff 984 Jun 27 21:25 build.options.json
drwxr-xr-x 2 john staff 68 Jun 27 21:09 core
-rw-r--r-- 1 john staff 4180 Jun 27 21:25 includes.cache
drwxr-xr-x 9 john staff 306 Jun 27 21:09 libraries
drwxr-xr-x 3 john staff 102 Jun 27 21:09 preproc
drwxr-xr-x 5 john staff 170 Jun 27 21:25 sketch
-rw-r--r-- 1 john staff 13 Jun 27 21:25 sketch_jun27a.ino.eep
-rwxr-xr-x 1 john staff 244808 Jun 27 21:25 sketch_jun27a.ino.elf
-rw-r--r-- 1 john staff 94526 Jun 27 21:25 sketch_jun27a.ino.hex
-rw-r--r-- 1 john staff 93844 Jun 27 21:25 sketch_jun27a.ino.with_bootloader.hex
./core:
./libraries:
total 0
drwxr-xr-x 6 john staff 204 Jun 27 21:09 Adafruit_GFX_Library
drwxr-xr-x 4 john staff 136 Jun 27 21:09 Adafruit_ILI9341
drwxr-xr-x 4 john staff 136 Jun 27 21:09 Adafruit_STMPE610
drwxr-xr-x 7 john staff 238 Jun 27 21:09 SD
drwxr-xr-x 4 john staff 136 Jun 27 21:09 SPI
drwxr-xr-x 4 john staff 136 Jun 27 21:09 SoftwareSerial
drwxr-xr-x 5 john staff 170 Jun 27 21:09 Wire
./libraries/Adafruit_GFX_Library:
total 312
-rw-r--r-- 1 john staff 1572 Jun 27 21:09 Adafruit_GFX.cpp.d
-rw-r--r-- 1 john staff 146940 Jun 27 21:09 Adafruit_GFX.cpp.o
-rw-r--r-- 1 john staff 190 Jun 27 21:09 glcdfont.c.d
-rw-r--r-- 1 john staff 1636 Jun 27 21:09 glcdfont.c.o
./libraries/Adafruit_ILI9341:
total 136
-rw-r--r-- 1 john staff 1771 Jun 27 21:09 Adafruit_ILI9341.cpp.d
-rw-r--r-- 1 john staff 64596 Jun 27 21:09 Adafruit_ILI9341.cpp.o
./libraries/Adafruit_STMPE610:
total 96
-rw-r--r-- 1 john staff 1620 Jun 27 21:09 Adafruit_STMPE610.cpp.d
-rw-r--r-- 1 john staff 43520 Jun 27 21:09 Adafruit_STMPE610.cpp.o
./libraries/SD:
total 168
-rw-r--r-- 1 john staff 1763 Jun 27 21:09 File.cpp.d
-rw-r--r-- 1 john staff 25040 Jun 27 21:09 File.cpp.o
-rw-r--r-- 1 john staff 1759 Jun 27 21:09 SD.cpp.d
-rw-r--r-- 1 john staff 45732 Jun 27 21:09 SD.cpp.o
drwxr-xr-x 8 john staff 272 Jun 27 21:09 utility
./libraries/SD/utility:
total 400
-rw-r--r-- 1 john staff 1525 Jun 27 21:09 Sd2Card.cpp.d
-rw-r--r-- 1 john staff 56052 Jun 27 21:09 Sd2Card.cpp.o
-rw-r--r-- 1 john staff 1658 Jun 27 21:09 SdFile.cpp.d
-rw-r--r-- 1 john staff 101120 Jun 27 21:09 SdFile.cpp.o
-rw-r--r-- 1 john staff 1662 Jun 27 21:09 SdVolume.cpp.d
-rw-r--r-- 1 john staff 28728 Jun 27 21:09 SdVolume.cpp.o
./libraries/SPI:
total 32
-rw-r--r-- 1 john staff 1335 Jun 27 21:09 SPI.cpp.d
-rw-r--r-- 1 john staff 9680 Jun 27 21:09 SPI.cpp.o
./libraries/SoftwareSerial:
total 80
-rw-r--r-- 1 john staff 1494 Jun 27 21:09 SoftwareSerial.cpp.d
-rw-r--r-- 1 john staff 33616 Jun 27 21:09 SoftwareSerial.cpp.o
./libraries/Wire:
total 72
-rw-r--r-- 1 john staff 769 Jun 27 21:09 Wire.cpp.d
-rw-r--r-- 1 john staff 30028 Jun 27 21:09 Wire.cpp.o
drwxr-xr-x 4 john staff 136 Jun 27 21:09 utility
./libraries/Wire/utility:
total 56
-rw-r--r-- 1 john staff 598 Jun 27 21:09 twi.c.d
-rw-r--r-- 1 john staff 21260 Jun 27 21:09 twi.c.o
./preproc:
total 32
-rw-r--r-- 1 john staff 12961 Jun 27 21:25 ctags_target_for_gcc_minus_e.cpp
./sketch:
total 176
-rw-r--r-- 1 john staff 12916 Jun 27 21:25 sketch_jun27a.ino.cpp
-rw-r--r-- 1 john staff 2525 Jun 27 21:25 sketch_jun27a.ino.cpp.d
-rw-r--r-- 1 john staff 67236 Jun 27 21:25 sketch_jun27a.ino.cpp.o
Johns-MacBook-Pro:arduino_build_896642 john$
How do we remove completly a library? The GFX library isn't used (Not sure)