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

Re: [MiNT] Problems linking lib that uses the constructor __attribute



Am Donnerstag, den 01.07.2010, 01:01 +0200 schrieb m0n0
<ole@monochrom.net>:

> Anyone knowns an trick?

My last try did succeed, anyway, it's not an cute method, I just add this
function to my example:

volatile void foobar(void)
{
 sdl_register_frontend(); 
}

it does work, even if foobar is never called. But this is an ugly
method... there must be an better way.

Greets,
Ole