On Tuesday 26 September 2006 5:17:04 pm Andrew Johnson wrote: > After patching tcc with the simple change for compound literals, I > discovered that shared libraries don't work. Trying to use a shared library > built in tcc, caused instant crashing. and gdb just gave a nice long list > of ??. > > Quite by accident, I discovered that after running strip on the resulting > .so, it worked. I tried this with several other shared libraries, and it > was the same in each one, all libraries are useless on build.. but after > running strip on them, they appear to work fine. > > Sometimes the actual binary grows on strip. Could it be that tcc is not > properly building the structure for shared libraries, but close enough that > strip fixes it? > > I can deal for now, since strip "fixes" it for me, but if anyone has ideas, > or a real fix I would appreciate it :) > > Andrew
Is this still a problem? Rob -- "One of my most productive days was throwing away 1000 lines of code." - Ken Thompson. _______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
