Erez D wrote:
hi

I am using gcc (actually avr-gcc) to compile some code for an AVR processor (AT32UC3L064).
The code generated does a lot of things before entering main()
There is some code i want it to do first - immediatly after powerup, before all other initializations.
Is that before or instead of the usual initializations?

Also, are those initializations a compiler thing, or do you just have code running in global context (such as a global variable that gets its initial value from a function)?

I'm afraid your answers change the way to achieve what you are looking for.

Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

_______________________________________________
Linux-il mailing list
[email protected]
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to