View Single Post
Old 15 June 2021, 02:36   #1281
arcanist
Registered User
 
Join Date: Dec 2017
Location: Austin, TX
Age: 41
Posts: 410
I'm running into a problem using ReAction with gcc's libstubs.a.

It contains stubs generated from the 3.9 NDK SFDs like this:
void* LayoutBase[2] = { 0, "layout.library" };

These are used by newlib __initlibraries to auto-open the library if the program references the corresponding symbol.

However the names do not match ReAction class names. LayoutBase's name is "gadgets/layout.gadget" in the Autodoc. The program consequently fails the OpenLibrary call during newlib init and terminates.

(Interestingly the 3.2 NDK dropped these SFDs. Perhaps 3.9 had libraries named like this?)

Is it possible to skip auto-open, or to not link libstubs.a, without writing custom startup code?
arcanist is offline  
 
Page generated in 0.04904 seconds with 11 queries