I started to test Atmel tool chain as an option to get rid off Arduino IDE.
I downloaded and unpacked "Atmel AVR 8-bit Toolchain 3.5.4 - Linux 64-bitAtmel AVR 8-bit Toolchain 3.5.4 - Linux 64-bit (46.7 MB, updated September 2016)".
Then opened http://www.atmel.com/Images/avr8..., it is listing the supported processors/architectures:
"... atmega168 atmega328 atmega6450a m3000 atmega168a atmega328p atmega6450p.."
I started with example "../avr8-gnu-toolchain-linux_x86_64/doc/avr-libc/examples/demo.
I ran make once, and found out it telling very little about what's going on. After openingMakefile I found MCU_TARGET = atmega8 set as default value.
Which MCU_TARGET I should select for atmega328p, and especially for Arduino Uno ver3 (if that makes any difference)?
MCU_TARGET = atmega329 is available as an option but no atmega328p.