Ahh - good replies!
The "shift" hint from CrossRoads is very helpfull. The .hex goes to /tmp on linux (I thought I had checked this before :-/ ), and the path on win I don't even want to bother to mention.
For uploading, I just copied the win-hex over the linux-hex. Something uploaded, but I cannot verify if it really was the win-hex after all. Tomorrow will show.
However, if it doesn't work this way, I will try the perl version - many thanks for this, too!
Btw, which linux version do you use? I have used the Arduino on several Ubuntu versions without any problems.
I have debian squeeze. It uses gcc 4.3.5, and so are the versions of the stuff, the gcc needs to get compiled. Therefore I cannot compile the gcc 4.6.
There's really no need to boot Windows for the Arduino and certainly no reason the envy the poor Windows uses
Unfortunately there is:
The register 20 in the mega is double used by some gcc-avr crosscode. The whole story is here:http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=736620
And the bugfix is here:http://gcc.gnu.org/viewcvs?view=revision&revision=174427