init code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Does gcc currently posses the functionality to do the following?

I would like to have gcc compile in a function that initializes a global variable into the target programs memory space. I need this initialization function to be called before any code is executed from the target program. I need to have gcc do this for every program that it compiles with out being asked. 

Does anyone have any ideas?

Thanks for your time.
Dale Reese


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux