@Daedalus
I got Pål Ringkilen (Anique) to start with Amiga again back in 2004, I made wrapper for BlitzBasic2 Gadtools to Gadtools.library, for him to compile his program (poolman a program like AmiDock) using vbcc I think, we tried to run them as is, but they where buggy.
I used the same code to port wb96 to AmigaOS4.1 now named Excalibur, (not to be confused with wb95 that was developed, and released by someone else
).
If that code is useful to you can have it, it saves you time to having to rewrite some parts.