Where should _fini and _init be defined?

Hesham Moustafa heshamelmatary at gmail.com
Thu Nov 27 16:56:05 UTC 2014


Hi all,

I had a compilation error when compiling RTEMS for Epiphany which is
undefined reference to _init, and _fini. I got over it by defining
dummy related functions at cpu.c, and hello world is working with it.
I know this is not the right way, so I'd like to ask here what's the
correct solution? Something relates to GCC port and included file or
what?

Thanks,
Hesham


More information about the devel mailing list