Fdtrans is a tool to take .sfd files used to make 68k libraries, and generate XML files used by idltool to create OD4 libraries. Is there a tool out there that would take a .h file containing function prototypes and turn that into an XML file?
Such a tool would make creating Amiga libraries from UNIX shared objects much easier. I know that OS4 can use shared objects now, but standard Amiga libraries are still preferable. Such a tool could even create shared objects stub libraries that use the standard library.
Actually, this would make turning old code into libraries easier too; no need to create .fd files.
But that's not what I'm looking for. I don't want to have to write an .fd file; I want to be able to give it a .h file with function prototypes (and maybe structure definitions, not that they're needed), and turn that into an OS4 XML file.
I think what Hans is looking for (and I must admit that I looked for it too, even considered to write one but already has too many projects right now) is a program that would take a C header (a .h) and create an XML OS4's library interface from that like what fdtrans does from an sfd. Such a program would greatly ease converting other platforms libraries to standard Amiga shared ones : creating an OS4 interface XML file from a C header is really a pain when there is more than 10 functions in the interface...
EDIT: it seems Hans answered quicker than I did
Last edited by abalaban on 20-Mar-2008 at 04:00 PM.
_________________ AOS 4.1 : I dream it, Hyperion did it ! Now dreaming AOS 4.2... Thank you to all devs involved for this great job !
Status: Offline
Hans
Re: Is there an fdtrans for .h files? Posted on 20-Mar-2008 16:02:13