On Tue, 2006-10-10 at 09:38:22 +0200, Clemens Kirchgatterer wrote:
> Denis Oliver Kropp <[EMAIL PROTECTED]> wrote:
> 
> > The reason is that the linker throws out our - naturally unreferenced
> > - "constructor" functions if they are in a .a file. It does not happen
> > with .o files.
> 
> could this be fixed with the ld --whole-archive switch ?

This can be fixed (as Denis referenced in his mail) with something
like:

  -Wl,-udirectfb_$i $moduledir/inputdrivers/libdirectfb_$i.a

Which is what I have in my patches. I'll ponder if it makes sense then
to send this patch...

regards,
guillem

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to