Guillem Jover schrieb: > Hi, > > I have some patches in Debian to "fix" the fact that in DirectFB the > static objects to link against are '.o' files instead of '.a'. Is > there any specific reason for this?
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. The only possibility to use .a for modules is by adding a separate argument to the linker for each module required. So you have two arguments per module. I'd like to keep the convenient .o files alive, but if you like you can reenable the .a file additionally. Is there a problem with .o files? -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
