This question is mainly for Ben Nizette (hi friend :) thx for your attention) and any other NGW user who has flashed pmbus code from David Brownell.
I'm using avr-gcc-4.3.2 and typing Make using Makefile included with the sources, elf executable can not be linked complaining about section overlapping. The generated objetcts main.o, pmbus.o and usi_i2c_slave.o sum up to 9KB. Therefore I suppose that linker complains because these objects do not fit in 2KB flash space of Attiny24.
Moreover, size of elf pre-built binary included in David's package is 16KB, so I can't imagine how can this be flashed into 2KB Attiny24 flash. Stripping this binary I've achieved 2.5KB, yet too big.
I'm a newbe and I don't know where the problem comes from. Thank you.
Forgive me, admin (hce) for asking about this twice... but you moved my post and I think that it made my query confusing. So I've decided to explain my problem again more clearly in this new message. Please, note that this question is for NGW Linux users who have faced this before. Moreover, this code was posted in avr32linux mailing lists.
Have a nice day,