On Mon, 2009-07-13 at 11:04 +0100, Daniel Silverstone wrote: > On Sun, 2009-07-12 at 20:13 +0100, John-Mark Bell wrote: > > > I try newest code and i see the constructor is not execute for SDL , i > > > think > > > this > > > happen on linking, that > > > this file is not add because no functions are need from netsurf direct.is > > > that possible > > Which is precisely why the NetSurf Makefile links this library > > -Wl,--whole-archive. > > I suggest you ensure that a) you have a sufficiently recent copy of the > > NetSurf source tree and b) that your version of GNU LD supports this > > feature. > > How about we change the architecture not to use constructor functions > since they're not compiler-portable? Or are we now tied to gcc because > of other things too?
NetSurf itself certainly isn't tied to GCC. Most of the libraries aren't, either. I'm happy to leave decisions about libnsfb up to Vince. J.
