gcc q

gcc q

Shachar Shemesh shachar at shemesh.biz
Mon Aug 23 10:00:07 IDT 2010


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20100823/3ea6e136/attachment.html>


More information about the Linux-il mailing list