I am trying to understand where/how code::blocks does things. I have used it for simple C based projects in the past, but now I'm trying to use it for Arduino stuff. Yeah I know the wizard is broken, but a wizard only does stuff than can be done manually.
So I have done some compilations one of which looks like this...
avr-g++ -Os -mmcu=atmega328p -I /home/mike/work/arduino-1.8.19/hardware/arduino/avr/cores/arduino -I /home/mike/work/arduino-1.8.19/hardware/arduino/avr/variants/standard -D__AVR_ATmega328P__ -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -I /home/mike/.arduino15/packages/arduino/hardware/avr/1.8.19/libraries/HID/src -I /home/mike/.arduino15/packages/arduino/hardware/avr/1.8.19/cores/arduino -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -mmcu=atmega328p -I. -I/usr/bin/arduino/libraries/EEPROM -I/usr/bin/arduino/libraries/Ethernet -I/usr/bin/arduino/libraries/Firmata -I/usr/bin/arduino/libraries/Flash -I/usr/bin/arduino/libraries/LCD4884 -I/usr/bin/arduino/libraries/LCD4Bit_mod -I/usr/bin/arduino/libraries/LiquidCrystal -I/usr/bin/arduino/libraries/OBD -I/usr/bin/arduino/libraries/SD -I/usr/bin/arduino/libraries/SD/utility -I/usr/bin/arduino/libraries/Servo -I/usr/bin/arduino/libraries/SevenSegment -I/usr/bin/arduino/libraries/SoftwareSerial -I/usr/bin/arduino/libraries/SPI -I/usr/bin/arduino/libraries/Stepper -I/usr/bin/arduino/libraries/TinyGPS -I/usr/bin/arduino/libraries/Wire -I/usr/bin/arduino/libraries/Wire/utility -I/usr/bin/arduino/hardware/arduino/cores/arduino -I/usr/bin/arduino/libraries -I/usr/bin/arduino/hardware/arduino/variants/standard -I/home/mike/.arduino15/libraries -c cores/CDC.cpp -o .objs/cores/CDC.o
So looking at the end of this command, we have lots of '-I/usr/bin/arduino...' stuff.
Where does that come from ? Is there a Makefile or something that code::blocks uses ?
I had a hunt about and could not find anything. It is not causing me a problem, I don't have /usr/bin/arduino/<anything> so the lookups fail, and the software compiles OK. I am just curious about how code::blocks works.
For the record this is code::blocks 20.03 on Fedora 39.